your web page by wrapping tags around your web page content • There are 3 types of tag: • an open tag • a closing tag and • a self-closing tag • There are different versions of HTML
Attributes are used to add additional information to a tag • Some attributes are common to all tags General form... <tag attribute="value">content</tag> For example <a href="http://example.com/index.html">Click me!</a>
version of HTML you are using html - indicates the latest version --> <!DOCTYPE html> <html> <head> <!-- code that is run **before** the page is displayed --> </head> <body> <!-- all visible content goes here...! --> </body> </html> ! indentation is used to make your code more readable!