Omo Alagbado Ode



I previously stated in the article titled “HOW TO LEARN HTML IN A DAY VOL.1” that I will teach the fundamentals of HTML and why it is not a programming language. I’d like to get into more depth regarding HTML in general. If you have not read the last post about HTML, it is advised that you do so before continuing because it will break down several aspects for you before you delve further into HTML expertise.

I want to go in-depth about the HTML structures first and foremost. Those are:

The HTML document type declaration, often known as DOCTYPE, is the first line of code in any HTML or XHTML page. The web browser is made aware of the HTML version used to build the page via the DOCTYPE declaration. This guarantees that the page is parsed uniformly across all web browsers. It appears as follows in the html code:

A collection of HTML tags called HTML Tags are utilized In that they govern how a web browser will format and display material, HTML tags are comparable to keywords. Thanks to tags, a web browser can distinguish between plain text and HTML. The three main parts of an HTML tag are the opening tag, the content tag, and the closing tag. It appears as follows in the html code:

HEAD tag: In HTML, the head element is used to specify the head section of the document, which contains document-related information. The title tag is located inside the head tag. The HTML code for the head tag looks like this:


TITLE tag: This tag is used to include information about the document in the title section. The HTML code for the title tag looks like this:

The information’s primary substance is contained in the body tag. This tag contains the majority of HTML tags. One HTML file cannot include more than one body tag. The tag is shown in the HTML code as follows:


But keep in mind that any tag must be contained within the entire Doctype definition. Which is:

The text should be placed between the open and close tags of the majority of fundamental html tags. A tag may contain a succession of tags inside of it.

The p> tag, often known as the paragraph tag, generally designates a paragraph for a particular section of the HTML text. One of the most used HTML tags is this one. The HTML code for the paragraph tag is p>…/p>. Between the open and closing tags should be the text.

When you wish to provide a title or a description of the content that will be following, you use heading tags. The h1 tag, h2 tag, h3 tag, h4 tag, h5 tag, and h6 tag are several forms of heading tags. The highest heading tag, or h1, has the largest font size, while the lowest heading tag, or h6, has the smallest font size. The list is arranged in ascending order by font size, from largest to smallest. The codes or text should appear between the open and close tags for every heading tag.

Hot Post:   How To Make Money Offline In Nigeria

A> or the anchor tag This tag is really intriguing. This tag establishes a hyperlink to another html file or links one page to another. To link one page to another, the href function in this tag is necessary. You can write the anchor tag as a href=”….”> and /a>. Simply calling the reference name or file name of the file causes the page to link in the URL. Between the open and close tags, more text is also permitted.

img> tag for images: This is a unique tag since it just includes an open tag and no closing tag; it links graphics or images to the html file to enhance the aesthetic appeal of the website. To retrieve the image into the browser, this element requires knowledge of the image’s source. The exact name of the image must be entered in the source area because this source is case- and letter-sensitive. The HTML code for the image tag is img src=”….”>.

Hot Post:   Some Of The Secrets Behind Successful Business

The div element is among the most used tags since it effectively and simply divides one area of the code into another. The open and close tags are also present in this tag. It can be expressed as div div div. The open and close tags will contain the text that has to be written.

The header tag is used to group the web page’s header. A header can serve as a portion of your website that welcomes visitors. The Home section, About part, Contact section, and Services section are all found in the header. You can write this tag as header> /header>.

This is a type of tag that is typically found near the bottom of a website. It typically includes information like the sponsor or web page owner with a copyright. It uses the same formatting as the header, which is footer> and /footer>.

List tag: This list tag is utilized when formally listing content on a web page. Unordered listing (ul tag) is the more common of the two types of listing tags, which are ordered listing (ol tag) and un-ordered listing (ul tag). This is how an unorganized list of codes appears in the text editor;

After the code has been run, the browser displays this;





Your email address will not be published. Required fields are marked *