Basic HTML
by Magdalene Yip
1. Document Structure
1.1. <html> <head> : : </head> <body> : </body> </html>
2. Target Attribute
2.1. Local Link
2.1.1. <a name = "label" id "label">
2.1.1.1. Use to create name anchor
2.2. HyperLinks
2.2.1. <a href = "url"> Text to be displayed</a>
2.2.1.1. Syntax of creating an anchor
2.2.2. Emal Link
2.2.2.1. <a href = "mailto:[email protected]">
2.2.2.1.1. Used to send email
3. Basic Tags
3.1. <DOCTYPE>
3.1.1. Defines the document type
3.2. <html>...</html>
3.2.1. Defines HTML document
3.3. <head>...</head>
3.3.1. Contains information about the document
3.4. <title>...</title>
3.4.1. Give a title to the HTML document
3.5. <body>...</body>
3.5.1. Defines the document body
3.6. <!--remarks-->
3.6.1. Defines a comments in HTML source code
3.7. <h1>...</h1> <h2>...</h2> <h6>...</h6>
3.7.1. Defines heading 1 to 6 (Head 1 being the biggest)
3.8. <p>...</p>
3.8.1. Defines the paragraph
3.9. <br/>
3.9.1. Line Break
3.10. <hr/>
3.10.1. Horizontal Rule