Understanding HTML tags.

1. What are tags?
Tags are the basic building blocks of HTML. HTML is a group different kind of tags having their own unique properties. Every tag contains opening and closing tag. Tags are also opened and closed in a specific order. The most recent ta…


This content originally appeared on DEV Community and was authored by Keshav Jindal

1. What are tags?
Tags are the basic building blocks of HTML. HTML is a group different kind of tags having their own unique properties. Every tag contains opening and closing tag. Tags are also opened and closed in a specific order. The most recent tag should be closed first than the outer one.
For example:
Image description
There are many number of tags, a few of are:

  • Heading tag.

  • Paragraph tag.

  • Image tag and many more.
    We will understand each tag in detail in next module.
    2. Let's see few examples for better understanding:

Example-1;

<h1>My HTML webpage content.</h1>

OUTPUT:

Image description

Example-2;

<h2>My Blog post</h2>
<img src="https://dev-to-uploads.s3.amazonaws.com/uploads/logos/resized_logo_UQww2soKuUsjaOGNB38o.png" />

OUTPUT:

Image description


This content originally appeared on DEV Community and was authored by Keshav Jindal


Print Share Comment Cite Upload Translate Updates
APA

Keshav Jindal | Sciencx (2023-04-09T11:04:02+00:00) Understanding HTML tags.. Retrieved from https://www.scien.cx/2023/04/09/understanding-html-tags/

MLA
" » Understanding HTML tags.." Keshav Jindal | Sciencx - Sunday April 9, 2023, https://www.scien.cx/2023/04/09/understanding-html-tags/
HARVARD
Keshav Jindal | Sciencx Sunday April 9, 2023 » Understanding HTML tags.., viewed ,<https://www.scien.cx/2023/04/09/understanding-html-tags/>
VANCOUVER
Keshav Jindal | Sciencx - » Understanding HTML tags.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/04/09/understanding-html-tags/
CHICAGO
" » Understanding HTML tags.." Keshav Jindal | Sciencx - Accessed . https://www.scien.cx/2023/04/09/understanding-html-tags/
IEEE
" » Understanding HTML tags.." Keshav Jindal | Sciencx [Online]. Available: https://www.scien.cx/2023/04/09/understanding-html-tags/. [Accessed: ]
rf:citation
» Understanding HTML tags. | Keshav Jindal | Sciencx | https://www.scien.cx/2023/04/09/understanding-html-tags/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.