December 4, 2022, 6:19 am
Basic Construction of an HTML Page
These tags should be placed underneath each other at the top of every HTML page that you create.
<!DOCTYPE html> — This tag specifies the language you will write on the page. In this case, the language is HTML 5.
<html> — This tag signals that from here on we are going to write in HTML code.
<head> — This is where all the metadata for the page goes — stuff mostly meant for search engines and other computer programs.
<body> — This is where the content of the page goes.
They are as follows:
|<h1>||Headline||Highlight text headline (h1 to h6)|
|<del>||Delete||Highlight Delete mark|
|<b>||Bold||Highlight important information|
|<strong>||Strong||Similarly to bold, to highlight key text|
|<i>||Italic||To denote text|
|<em>||Emphasised Text||Usually used as image captions|
|<mark>||Marked Text||Highlight the background of the text|
|<small>||Small Text||To shrink the text|
|<strike>||Striked Out Text||To place a horizontal line across the text|
|<u>||Underlined Text||Used for links or text highlights|
|<ins>||Inserted Text||Displayed with an underline to show an inserted text|
|<sub>||Subscript Text||Typographical stylistic choice|
|<sup>||Superscript Text||Another typographical presentation style|
These tags must be opened and closed around the text in question.