HTML
HTML
HTML
Table of Contents
INTRO TO HTML...........................................................................................................................................2
What is HTML?........................................................................................................................................2
HTML Page Structure..............................................................................................................................2
Web Browsers.........................................................................................................................................3
Extension and running............................................................................................................................3
HTML ELEMENTS/Tags................................................................................................................................4
HTML <! --...--> Tag.................................................................................................................................4
The <!DOCTYPE> Declaration.................................................................................................................4
HTML <a> Tag..........................................................................................................................................4
HTML <abbr> Tag....................................................................................................................................5
HTML <address> Tag...............................................................................................................................5
HTML Headings Tags...............................................................................................................................5
HTML Paragraphs Tag.............................................................................................................................5
HTML Horizontal Rules...........................................................................................................................6
HTML Line Breaks....................................................................................................................................6
The HTML <pre>......................................................................................................................................6
Page |1
INTRO TO HTML
What is HTML?
HTML stands for “Hyper Text Markup Language”.
HTML is the standard markup language for creating Web
pages.
HTML describes the structure of a Web page.
HTML consists of a series of elements (the building blocks of
a web page). These elements tell the browser how to display
the content.
It’s also worth noting that HTML is not considered a programming
language as it can’t create dynamic functionality.
<html>
<head>
<title>Page title</title>
</head>
<body>
<h1>This is a heading</h1>
</body>
</html>
Page |2
The content inside the <body> section will be displayed in a
browser. The content inside the <title> element will be shown in
the browser's title bar or in the page's tab. The shortcut key to
auto complete the HTML Structure is: "!" After typing, press
the "TAB" key on the keyboard.
Web Browsers
The purpose of a web browser (Chrome, Edge, Firefox, Safari) is to
read HTML documents and display them correctly. A browser does
not display the HTML tags but uses them to determine how to
display the document.
Page |3
HTML
ELEMENTS/Tags
An HTML element consists of a start tag, content, and an end tag.
Page |4
If the <a> tag has no href attribute, it is only a placeholder for a
hyperlink.
Page |5
HTML <aside> Tag
The <aside> tag defines some content aside from the content
it is placed in.
The aside content should be indirectly related to the surrounding
content.
Tip: The <aside> content is often placed as a sidebar in a
document.
Page |6
The <bdi> tag isolates a part of text that might be formatted in a different
direction from other text outside it.
This element is useful when embedding user-generated content with an unknown
text direction.
<li>User <bdi><إيان/bdi>: 90 points</li>
Page |7
<p>This is a paragraph. </p>
Page |8