lab 3





 C:\Users\uthm\Documents\mypage2.html
1.Explain the html code above.
<html> tells the browser that this is an HTML document.
<head> element is a container for all the head elements.
<title>this title require in html  document.
<body>represent the body of document.
<h1>define as most important heading.
<p>dine as the paragraph.
<br> is an empty tag which means that it has no end tag.

2.Explain about the two types of HTML Tags.

Paired Tags

A tag is said to be a paired tag if the text is placed between a tag and its companion tag. In paired tags, the first tag is referred to as Opening Tag and the second tag is referred to as Closing Tag.

Unpaired Tags:

An unpaired tag does not have a companion tag or closing tag. Unpaired tags are also known as Singular or Stand-Alone Tags.

3.give some example of html tags on both types of html tags.

paired tags:
<i>This text is in italics. </I>
Here <i> is called opening tag. and </i> is called closing tag.

unpaired tags:
<br> , <hr>
These tags does not require any companion tag.

Comments

Popular posts from this blog

lab 2