Difference between revisions of "Coursera html/css course"
From MyWiki
| Line 31: | Line 31: | ||
body { | body { | ||
background: green; | background: green; | ||
| − | + | } | |
</source> | </source> | ||
Revision as of 17:28, 17 November 2015
Example of a very simple nav bar
<a href "index.html" > Home </a> <a href "contact.html" > Contact </a> <hr></hr> <img src="my.png" width="50%" />
Adding a stylesheet in a separate file
<head>
<title> Georges documentation</title>
<link rel="stylesheet"
type="text/css"
href="style.css"
/>
</head>Stuff in the csss file :
body {
background: green;
}