Basic HTML Tags Explained (h1 to h6, p, img, a, button) – Simple Beginner Guide
Get link
Facebook
X
Pinterest
Email
Other Apps
-
If you are just starting with HTML, don’t worry — you don’t need to learn everything at once. With just a few basic tags, you can already build your first simple webpage. In this blog, we will learn the most important HTML tags in a very easy and practical way: h1 to h6, p, img, a, and button.
π§ What Are HTML Tags?
-HTML tags are like instructions that tell the browser what to show on the screen.
For example:
If you want to show a heading → use a heading tag
If you want to show text → use a paragraph tag
If you want to show an image → use an image tag
So basically, HTML tags help us build the structure of a webpage.
Heading Tags (h1 to h6)
-Heading tags are used to write titles and headings on a webpage.
-There are 6 levels of headings, from biggest to smallest.
html
<h1>Main Heading</h1>
<h2>Sub Heading</h2>
<h3>Section Heading</h3>
<h4>Smaller Heading</h4>
<h5>Very Small Heading</h5>
<h6>Smallest Heading</h6>
π How to understand this easily:
h1 → Main title of the page (use only once)
h2→ Main sections (like About, Services)
h3–h6→ Smaller sections and details
Think of it like a book:
h1 = Book title
h2 = Chapters
h3 = Subtopics
-This helps organize your content properly.
Paragraph Tag (p)
-The <p> tag is used to write normal text or paragraphs.
html
<p>This is a paragraph.</p>
π Where to use:
About section
Descriptions
Any normal text on your page
-It automatically gives some spacing, so your text looks clean and readable.
Image Tag (img)
-The <img> tag is used to display images on your webpage.
Introduction to CSS Basics and Types By Angad Tech Academy What is CSS? -When I first started working with HTML, everything looked very plain. The structure was there, but there was no design, no colors, nothing attractive. -That’s when I understood the importance of CSS. -CSS (Cascading Style Sheets) is used to control the appearance of a website. It helps in styling elements like colors, fonts, spacing, and layout. In simple terms, HTML builds the structure, and CSS makes it look good. Why is CSS Important? -Without CSS, websites would look very basic and uninteresting. In today’s time, users expect clean and modern designs, and that’s only possible with proper styling. -CSS plays a big role in improving user experience. -It helps in: - Making websites visually attractive - Improving readability - Creating consistent design across pages - Giving a professional look - Making websites responsive CSS Basics -CSS work...
HTML is the basic building block of websites. In this simple guide, you will learn what HTML is, how it works, and why it is important for beginners. Easy explanation with examples. Introduction: -HTML is the basic building block of every website. -Whenever you open a website, the structure you see is created using HTML. -HTML stands for "Hyper Text Markup Language". -It is not a programming language, but a "mark9 What does HTML do? -HTML is used to create the "structure of a webpage". -It tells the browser: what is a heading what is a paragraph where images or links should be placed -In simple words,"HTML decides how content is arranged on a webpage". What are Tags in HTML? -HTML works using "tags". -Tags are special keywords written inside angle brackets < >. Examples: <h1> → used for headings <p> → used for paragraphs <body> → contains visible content Most tags have: an opening tag → <p> a closing tag...
Comments
Post a Comment