HTML, Why is a must for every website.

Onifade Ifeoluwa
2 min readMay 16, 2022
Photo by Pankaj Patel on Unsplash

What is a website?.

According to Wikipedia, A website (also written as a web site) is a collection of web pages and related content identified by a common domain name and published on at least one web server. Examples of notable websites are Google, Facebook, Amazon, and Wikipedia.

What is HTML?.

HTML (HyperText Markup Language), According to Hostinger, It allows web users to create and structure sections, paragraphs, and links using elements, tags, and attributes. However, it’s worth noting that HTML is not considered a programming language as it can’t create dynamic functionality.

What is HTML Semantics?.

HTML Semantics element gives meaning or introduces meaning to the web page. They make people know what the tags are and computers understand how to display them on the web page.

Note: We have Semantic and Non-semantics elements

HTML Tags (Container Tags and Empty Tags). Examples.

Container Tags

<h1> to <h6> </h1>to</h6> Heading Tag

<p></p> Paragraph Tag

<div></div> A container for a block of content

<span></span> A container for in-line content, such as content inside a paragraph.

<! — — !> Comment.

<em></em>Gives the contained text emphasis (usually as italics).

<strong></strong>Makes the contained text bold.<a href = “document

location”></a>Link<ol></ol>Ordered (numbered) list<ul>

</ul>Unordered (bulleted) list

<li></li>List item, must be nested inside a list element such as a <ol> or <ul>

<html> </html> Html Doc declaration

<head> </head> head tag

<title> </title> Page title tag

<body></body> Body tag

<A></A> -anchor tag

<TT></TT> — to use typwriter font

<SUP></SUP> — to write in power of something like a²

<SUB></SUB> — to write in lower phase like H2O (water)

<B></B> — to bold the text

<I></I> -to italic the text

Empty Tags

<br />Line break.

<img src =”image location” alt=”alternate text” />Inserts an image into a web page.

<area>
<base>
<br>
<col>
<colgroup> when the span is present
<command>
<embed>
<hr> line
<input> collect data
<keygen>
<link> embed link
<meta> metadata
<param>
<source>
<track>
<wbr>

THANK YOU

--

--