HTML documents consists of multiple element structure which includes start tag, attribute, body element, end tag etc.
The main tag of HTML is <html> and </html> which is start tag and end tag.
The content element is written between two tags i.e. body tag.
For example,
<p>Hello there!</p>
Few HTML elements have no body i.e. <br> tag which do not require to close tag.
Read Also: Meta Tags in HTML
An attribute can be added to HTML element.
For example,
<div id="one" style="background-color:#333333">...</div>
You can add tag inside another tag i.e. called nested element.
For example,
<div id="one" style="background-color:#333333"> <span>Hi there...</span> </div>
These are the basic building blocks that you will find yourself using on any web page.
Content marketing has a hidden tax. It's not the writing itself, it's everything that happens…
Most marketing teams aren't failing because they lack data. They're failing because they can't act…
Email marketing continues to be one of the most effective ways for businesses to communicate,…
Xerox first introduced it around the mid-1970s. The need came up because the management activities…
Investing in the forex market may look to be a dangerous game. With some worthwhile…
The coronavirus outbreak has drastically changed the way we live our lives. Yes, that's absolutely…