Professional Documents
Culture Documents
Basic HTML Elements 1.2
Basic HTML Elements 1.2
Basic HTML Elements 1.2
Lesson 2
Basic HTML Elements
1
*Information & Images taken from various sites on the internet and is under OER Commons.
Objectives
At the end of the lesson, you should be able to:
SBIS 2
*Information & Images taken from various sites on the internet and is under OER Commons.
HTML
SBIS
4
*Information & Images taken from various sites on the internet and is under OER Commons.
SBI
S
1
Basic Elements
SBIS5
*Information & Images taken from various sites on the internet and is under OER Commons.
HTML <!DOCTYPE> Declaration
It must only appear once, at the top of the page (before any HTML tags).
SBIS
HTML <!DOCTYPE> Declaration
Look at our table of all HTML elements, and what Doctype each
element appears in.
SBIS
HTML Documents
The HTML document itself begins with <html> and ends with </html>.
SBIS
9
*Information & Images taken from various sites on the internet and is under OER Commons.
HTML Documents: Main root
HTML Elements
The <html> element is the root element and it defines the whole
HTML document. It has a start tag <html> and an end tag </html>.
SBIS
HTML Documents: Document metadata
The <title> HTML element defines the document's title that is shown
in a Browser's title bar or a page's tab. It only contains text; tags
within the element are ignored.
SBIS
HTML Documents: Sectioning root
SBIS
13
*Information & Images taken from various sites on the internet and is under OER Commons.
Key points
1. Doctype declaration
2. Html, head, title, meta and body Elements
SBIS
References:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element
https://www.w3schools.com/tags/tag_doctype.asp
https://www.w3schools.com/html/html_intro.asp
SBIS