• You create elements using tags • Tags look like this: <h1>A document major header</h1> <p>This is a paragraph tag</p> <a href=”http://google.com”>Google.com</a> Friday, February 24, 2012
Allows you to “classify” elements with “class names” • Important! Elements can have many class names but only one id, and the one id must be unique Friday, February 24, 2012
04 <title>My Page</title> 05 </head> 06 <body> 07 <h1>The Title of My Page</h1> 08 <p>Welcome to my page, I hope you enjoy it!</p> 09 <p class=”email”> 10 You can reach me via email here: 11 <a href=”mailto:[email protected]”> 12 [email protected] 13 </a> 14 </p> 15 </body> 16 </html> Friday, February 24, 2012
web works so well • href = hyper-reference = anywhere • In your page (with ids) • In your site • To any old random website/page/thing Friday, February 24, 2012