what is html tag
HTML markup tags are usually called HTML tags.
HTML tags are keywords surrounded by angle brackets like:
<html>. Most HTML tags normally come in pairs like <HTML> and </HTML>. The first tag in a pair is the start tag; the second tag is the end tag. Start and end tags are also called opening tags and closing tags. All HTML tags are enclosed in angle brackets „<‟ and „>‟ i.e. Opening Tag: <HTML> and closing tag: </HTML>. The closing tag is the same as the opening tag except a /(slash) mark e.g. </HTML>.
Tags are used to represent various elements of web page like Header, Footer, Title, Images etc.
Tags are of two types
♦ Container and
♦ Empty Tags
Container Tags: Tags which have both the opening and closing i.e.
<TAG> and </TAG> are called container tags. Container tags hold the text and other HTML tags in between the tags. The <HTML>, <HEAD>, <TITLE> and <BODY> etc. tags are all container tags.Example:
<BODY> this is a container tag. It holds both the text and HTML tag </BODY>
Empty Tags: Tags, which have only opening tag and no ending tag, are called empty tags.
The <HR>, which is used to draw horizontal, rule across the width of the document, line break <BR> tags, etc are empty tags.
Container Tags have both the opening and closing i.e.:
<TAG> and </TAG>,
Empty Tags have only opening tag and no ending tag.
0 মন্তব্য(গুলি):
একটি মন্তব্য পোস্ট করুন
Comment below if you have any questions