HTML Elements :
There are many HTML Elements like
Paragraph tags <p>, Headings Tags <h1> to <h6>.
Division Elements like <div> etc.
An HTML Elements is defined by
opening tags like <p> and closing tags like </p>
which containing the contents between them.
Each closing tags have a forward
slash before the tags like </p>.
For Examples :
<p> Paragraph goes here </p>
<p> An other Paragraph goes here </p>
<h1> Heading First goes here </h1>
<h2> Heading Second goes here </h2>
<div> Div contents goes here </div>
<div> An other Div contents goes here </div>
These above statements are called An
HTML Elements.
And following statements are Tags.
<p>, <h1>, <div> tags etc.
Nested HTML Elements :
Nested HTML Elements means HTML
Elements inside another HTML Elements.
For Examples :
<DOCTYPE html>
<html>
<head>
<title>This is Nested Elements </title>
</head>
<body>
<h1>This is <i>italic tag</i></h1>
<p>This is <u>underline tag</u></p>
</body>
</html>
You can try it yourself from here given link :
Just copy above code and past it in the code section and click on
the JKS RUN>> button to find the result.
This will display the following results :
Post a Comment
Give suggestions if any? Thanks! Jitendra Kumar