Difference between revisions of "Coursera html/css course"

From MyWiki
Jump to: navigation, search
Line 15: Line 15:
 
</source>
 
</source>
 
Adding a stylesheet in a separate file<br>
 
Adding a stylesheet in a separate file<br>
 +
<source lang="text">
 +
<head>
 +
<title> Georges documentation</title>
 +
<link rel="stylesheet"
 +
    type="text/css"
 +
    href="style.css"
 +
/>
 +
 +
 +
</head>
 +
 +
</source>

Revision as of 17:20, 17 November 2015

Example of a very simple nav bar

<a href "index.html" >
Home
</a>
&nbsp;
<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>