Professional Documents
Culture Documents
LESSON 2
HTML
It is a special language that browsers can
read.
HTML codes are enclosed by less than “<“ and
greater than “>” brackets. These bracketed
codes are commonly referred to as Tags.
<body>
<h2> Heading content </h2> HTML heading tag
<p> Paragraph content </p> HTML paragraph tag
</body></html>
FORMATTING TEXT AND TAGS
1. Header Tag <Hn></Hn>
<OL Type=Type>
Types of Ordered List <Li> List item 1
<Li> List item 2
1 – Numeric </OL>
a – lowercase letters
A – uppercase letters
i – lowercase roman
I – uppercase roman
B. UNORDERED LIST – Presented with
bullets before each list item. They are
sometimes called Bulleted List.
Syntax:
Types of Unordered List
<UL Type=bullet type>
Type: Disc, Circle, Square <Li> List item 1
<Li> List item 2
</UL>
By default the list will start with 1. To change it use
the START attribute of the <OL> tag.
Syntax: