0% found this document useful (0 votes)
15 views3 pages

Basic HTML Page Examples

The document contains three basic HTML examples showcasing different elements. The first example introduces a simple web page, the second includes lists and descriptions, and the third demonstrates a table structure. Each example is designed to help beginners understand fundamental HTML components.

Uploaded by

MOHAMED ILFAZ
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)
15 views3 pages

Basic HTML Page Examples

The document contains three basic HTML examples showcasing different elements. The first example introduces a simple web page, the second includes lists and descriptions, and the third demonstrates a table structure. Each example is designed to help beginners understand fundamental HTML components.

Uploaded by

MOHAMED ILFAZ
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

1)<!

DOCTYPE html>
<html >
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Welcome to My Web Page!</h1>
<p>This is a basic HTML page to get you started.</p>
</body>
</html>

2)
<!DOCTYPE html>
<html>
<head>
<title>My Simple Web Page</title>
</head>
<body>
<h1>Welcome to My Simple Web Page!</h1>

<p>This is an example of a basic HTML page. You can customize it however you like!</p>

<h2>Things I like:</h2>
<h3> Unordered list </h3>
<ul type =”square”>
<li>Coding</li>
<li>Reading</li>
<li>Traveling</li>
</ul>
<h3>Ordered List</h3>
<ol type= “A”>
<li>Wake up</li>
<li>Brush teeth</li>
<li>Go to work</li>
</ol>
<h3>Description List</h3>
<dl>
<dt>Coding</dt>
<dd>The process of writing instructions for a computer.</dd>

<dt>Reading</dt>
<dd>The activity of interpreting written words.</dd>

<dt>Gaming</dt>
<dd>Playing video games for entertainment.</dd>
</dl>

</body>
</html>

3)
<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML Table Example</title>
</head>
<body>

<h1>Simple Table</h1>

<table border="1">
<tr>
<th>Name</th>
<th>Age</th>
<th>Country</th>
</tr>
<tr>
<td>John Doe</td>
<td>30</td>
<td>USA</td>
</tr>
<tr>
<td>Jane Smith</td>
<td>25</td>
<td>Canada</td>
</tr>
<tr>
<td>Mike Johnson</td>
<td>35</td>
<td>Australia</td>
</tr>
</table>

</body>
</html>

You might also like