What is contained in HTML markup?
Hi,
Here is the answer,
A ?markup tag? is the fundamental characteristic of HTML. Every markup tag is a command placed between ?wickets? or ?angle brackets??a left bracket (<) and a right bracket (>). Markup tags are not revealed by a web browser; they are invisible.
HTML markup tags are nothing but certain keywords. Tag is enclosed in angular brackets < and >
Tags are represented in two ways.
Start and end tag (paired tags)
An empty tag
Start and End Tag:
In most cases, markup tags (containing commands) come in pairs, with text or a graphic image located between the beginning and ending tags:
An HTML tag looks like
<tag> This is some content </tag>
Here
Nesting Of Paired Tags:
Paired tags can be nested in one another in following way
<body> <div> <p>this is paragraph</p> </div> </body>
An Empty tag:
HTML defines certain tags as empty tags, means they don?t require closing tags and they do not contain any content. Such tags are closed in a start tag only.
<p>This is <br>a paragraph</p>
Thanks.
Ads