0% found this document useful (0 votes)
2 views2 pages

Practice Example Begaineers

The document provides examples of basic HTML elements including headings, text formatting, font styles, and lists. It demonstrates the use of various tags such as <h1> to <h6>, <b>, <i>, <u>, and <font> for styling text. Additionally, it showcases ordered and unordered lists to organize information.

Uploaded by

subhrojitdas515
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Practice Example Begaineers

The document provides examples of basic HTML elements including headings, text formatting, font styles, and lists. It demonstrates the use of various tags such as <h1> to <h6>, <b>, <i>, <u>, and <font> for styling text. Additionally, it showcases ordered and unordered lists to organize information.

Uploaded by

subhrojitdas515
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

<html>

<head>
<title>My First Webpage</title>
</head>
<body>
<h1>Welcome to HTML</h1>
<p>This is my first web page using HTML.</p>
</body>
</html>

Example: Using <h1> to <h6> Tags


<html>
<head>
<title>Heading Tags Example</title>
</head>
<body>
<h1>This is Heading 1</h1>
<h2>This is Heading 2</h2>
<h3>This is Heading 3</h3>
<h4>This is Heading 4</h4>
<h5>This is Heading 5</h5>
<h6>This is Heading 6</h6>

</body>
</html>
Example Bold , Italics and Underline

<html>
<head>
<title>Text Formatting Example</title>
</head>
<body>

<p>This is <b>bold</b> text.</p>


<p>This is <i>italic</i> text.</p>
<p>This is <u>underlined</u> text.</p>

<p>This is <b><i><u>bold, italic and underlined</u></i></b> text.</p>

</body>
</html>
Font color , size and Face

<!DOCTYPE html>
<html>
<head>
<title>Font Tag Example</title>
</head>
<body>

<h2>Font Style, Color and Size</h2>

<p><font color="red" size="5" face="Arial">This is red, size 5, Arial font.</font></p>


<p><font color="blue" size="4" face="Courier">This is blue, size 4, Courier font.</font></p>
<p><font color="green" size="3" face="Verdana">This is green, size 3, Verdana font.</font></p>
<p><font color="purple" size="6" face="Georgia">This is purple, size 6, Georgia font.</font></p>

</body>
</html>
Order and Un order list
<!DOCTYPE html>
<html>
<head>
<title>HTML Lists Example</title>
</head>
<body>

<h2>My Daily Routine (Ordered List)</h2>


<ol>
<li>Wake up at 6 AM</li>
<li>Brush my teeth</li>
<li>Take a bath</li>
<li>Go to school</li>
</ol>

<h2>Things I Carry in My School Bag (Unordered List)</h2>


<ul>
<li>Books</li>
<li>Notebooks</li>
<li>Pencil box</li>
<li>Lunch box</li>
<li>Water bottle</li>
</ul>

</body>
</html>

EX1
<ol type="A">
<li>English</li>
<li>Math</li>
<li>Science</li>
</ol>

EX2

<ul type="square">
<li>Pen</li>
<li>Pencil</li>
<li>Notebook</li>
</ul>

You might also like