7. How HTML Works
HTML uses markup tags to describe
elements on a page.
<tag> Text </tag>
start tag end tagcontent
8. Basic HTML Document
<!DOCTYPE html>
<html>
<head>
<title>Example Web Page</title>
</head>
<body>
<h1>Example Page</h1>
<p>This is a paragraph</p>
<a href=“link.html”>Web link</a>
<! - - this is a comment in the code - ->
</body>
</html>
= tag
= text on webpage
= comment
15. What we need to write code
• A text editor (especially one made for code writing)
Komodo Edit: http://komodoide.com/komodo-edit/
• An Internet browser (preferably Google Chrome)