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.
When you are looking to apply for a mortgage the one thing that most people…
Once you've memorized basic blackjack strategy, it's time to delve deeper into the game. Advanced…
Yoga is no longer just a physical practice. Yoga is popular as a lifestyle practice.…
Best Crypto Sign-Up Bonuses in India 2026: Ranked & Compared Every exchange claims to have…
One of the world's busiest travel hubs, New York City relies heavily on coach bus…
Whether large scale or small scale, many businesses want to market their services or products…