HTML,Which Stands to Hypertext Markup Language, Is a Language Based on tags , there are over 1000+ Tags In HTML But There is Some Of Them Which Are Important, Like The HTML Tag Itself. Some Of the tags have ending tags (like html) and some of them dont!(like br)
1.1 Head Tag
Head Tag is an Essential Tag in HTML, its where the html knows that your paragraphs or other elements are going to be
like human body , it has head and a body
Popular Tags:
<Title> (required in every HTML document)
-The Name Of The Website
<Style>
-Internal CSS Tag
<Base>
-Start Of All of the Links In Page
<Link>
-Way To Use External CSS
<Meta>
-Gives Meta Data to HTML Page
<Script>
-Is Used For JavaScript Codes
<Noscript>
-Its like If Condition, If the user Browser Blocked JavaScript Or Doesn't Support It, you can Use this
1.2 Body Tag
The body tag is a crucial element in HTML that defines the main content area of a web page. It is the container for all the visible elements that will be displayed on the web page, such as text, images, links, and other multimedia content.
Headings:
<h1>, <h2>, <h3>, <h4>, <h5>, <h6>
- Used to create headings and subheadings.
Paragraphs:
<p>
- Used to create paragraphs of text.
Links:
<a>
- Used to create hyperlinks.
Images:
<img>
- Used to insert images.
Lists:
<ul> (unordered list) and <ol> (ordered list)
- Used to create lists.
<li>
- Used to create list items within a ul or ol list.
Formatting:
<b>
- Used to make text bold.
<i>
- Used to make text italic.
<u>
- Used to underline text.
Divisions and Sections:
<div>
- Used to create a division or section in the document.
<section>
- Used to define a section in the document.
Multimedia:
<video>
- Used to embed video content.
<audio>
- Used to embed audio content.
Forms:
<form>
- Used to create a form for user input.
<input>, <textarea>, <button>, etc.
- Used within forms to create various form elements