Subscriber only lesson.
Sign up to this course to view this lesson.
About this lesson
Every HTML page is made up of the same basic skeleton. We'll look at doctypes, html tags, head tags, body tags, meta tags, and more.
Download this lesson’s related exercise files.The Parts Of An HTML File.docx
199.6 KB The Parts Of An HTML File - Solution.docx
The Parts of an HTML File
All web pages have the same basic HTML structure.
When to use
Whenever you build a web page, it needs to follow the common structure or skeleton.
HTML documents start with an html tag, followed by a head, title, then closing title and closing head tags, and finally a body tag.
The body tag contains the bulk of the web page, after which you close the body tag, and then close the HTML tag.
Hints & tips
- Most web pages use the same layout and structure.
- Most of the HTML listed in the <head> section does not appear on the web browser screen.
- The meta tags go in the head section.
- The meta tag is used by search engines and is sometimes used as the description on the search results page.
- The stuff in the <body> tag is generally the stuff you see in the web browser whenever you visit a web site.
- It is a good idea to indent when you add a nested tab.
Lesson notes are only available for subscribers.