HTML Tags Meaning and Examples
What are HTML Tags?
HTML tags are simple instructions that tells a web browser how to format text. You can use tags to format italics, line breaks, objects, bullet points, and more. They are basically used to structure an HTML page and add different types of content. While some tags have a very specific purpose, such as image and video tags, most tags are used to describe the content that they surround, which helps us modify and style our content.
There are seemingly infinite numbers of tags to use. Understanding each HTML tag and knowing when to use each one is a crucial step to implementing your own HTML code.
An HTML tag must contain three parts:
-An opening tag — this will start with a < > symbol
-Content — the short instructions on how to display the on-page element
-A closing tag — this will end with a </ > symbol
However, some HTML tags can be unclosed. That means that the HTML tag does not need to be closed with a </ > e.g <img/>, <br>, <input> etc. tags.
There are more than 100 different types of HTML tags that you can use for your web pages. Listed below are some basic HTML tags:
Comments
Post a Comment