Open notepad++ and enter the code below.
1 2 3 4 5 6 7 8 9 10 | <! doctype html> < html > < head > < meta charset = "UTF-8" > < title > </ title > </ head > < body > </ body > </ html > |
Save this as blank.html in your web folder.
- <!doctype html> – This identifies the page as a HTML5 document.
- <html></html> – The contents of this tag is HTML.
- <head></head> – This is the head area of the website, the contents are not displayed on the site but can be used by the browser.
- <meta charset=”UTF-8″> – This sets the character set of the site to unicode.
- <title></title> – Title tag contains the text that appears as the title of the site, this is displayed at the top of the windows or on the tag.
- <body></body> – The contents of this tag can be displayed on the browser window.
Notice that tags can contain other tags in thier contents, so for example the <head> contains <title>.