<A> </A>
This is a tag that allows you to create a link to a web page, your page, a social media site, a product within an online store, and so on. The primary attribute for this HTML tag is the href (Hypertext Reference) attribute, which contains a link to the website to which you want to link. The target attribute can be used to open a link in a new window, keeping users’ attention on the current page.
<B> </B>
If you have a lot of text, you should highlight some words to make the reader aware of what is important. And you do it with text in bold.
<BODY> </BODY>
An HTML document’s body. In fact, this is a required component of all HTML documents, but it is simply a tag that indicates the visible content of the page and where the majority of the content is located.
<BR>
We tell the browser where we want blank lines or breaks in the text with this basic HTML tag. Indeed, using a few breaks allows our text to breathe, making it easier to read and understand.
<DIV> </DIV>
A type of element that is commonly used to group elements and serve as a template for new controls. The div HTML tag is used to separate important parts of an HTML document from others. For example, if you have a list of products on your website, each product will have its own div.
<HEAD> </HEAD>
The first section of an HTML document. Furthermore, this is where you will find metadata, which is information about the document’s styling, the type of JavaScript libraries it uses, title and CSS files.
<H1> </H1> <H2> </H2> … <H6> </H6>
Headings (levels 1-6, i.e. H3 is a subheading within a H2 subheading). Titles are made up of H1, H2,… tags. Why bother with titles when we can style text to resemble H tags? For example, titles are used to help search engines and other scrapers (bots) understand which parts of our documents are important.
<I> </I>
If you have a lot of text, you should highlight some words to let the reader know what is important. Italics, on the other hand, can be used to present text that is slightly slanted to the right.
<IMG>
The IMG tag is used to display images. Given that images can be found in web page files or anywhere online. Furthermore, the most important attribute is src (source), which indicates where the image can be found.
<LI> </LI>
Item for the list. An ordered (OL>) or unordered (UL>) list tag. You can also have as many as you want.
<OL> </OL>
A well-organized list. Also included are <LI> List Items, which will be numbered automatically. As a result, if you add more list items, the numbers will always be in the correct order.
<P> </P>
The paragraph tag is used to organize text into paragraphs. As a result, its purpose is to separate a portion of text or a paragraph, making it more readable and organized.
<SPAN> </SPAN>
The span tag organizes text that we want to style differently. A good example would be to include a red word within a sentence.
<STRONG> </STRONG>
Text is heavily emphasized – it is usually in bold and appears bold most of the time. But it also means that this text should be highlighted.
<UL> </UL>
An unordered list simply means that each item in the list has a bullet. Each item on the list will be accompanied by a bullet.
You can visit on html quiz that can help to build your base and grow your knowledge.