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.
π HISTORY OF ARTIFICIAL INTELLIGENCE (AI) – EASY & STUDENT FRIENDLY Artificial Intelligence (AI) is one of the most important technologies today. In this blog, you will learn the history of AI in a very simple and easy way. This topic is very useful for students preparing for exams and interviews in computer science. π· 1. INTRODUCTION Artificial Intelligence (AI) is a part of computer science where machines are made smart so they can think, learn, and take decisions like humans. Today, we use AI in our daily life like: π ChatGPT π Alexa π Google Assistant π· 2. HOW AI STARTED π In 1950, Alan Turing gave the idea that machines can think like humans. π In 1956, John McCarthy introduced the term “Artificial Intelligence”. This was the beginning of AI. π· 3. EARLY DEVELOPMENT π Between 1960–1970, simple AI programs were developed. π But in 1970–1980, AI growth slowed down due to lack of technology and funding. This period is called **AI Winter** π· 4. MODERN AI π After 2000, ...
WHAT IS ARTIFICIAL INTELLIGENCE (AI)? Artificial Intelligence commonly known as AI.So AI is a field of computer science that focuses on creating machines and systems that can think, learn, and make decisions like humans. In simple words, AI is the technology that allows computers to perform tasks that usually require human intelligence. These tasks include understanding language, recognizing images, solving problems, and even making decisions based on data. In simple words, AI makes machines “smart” so they can help humans in daily life. Today, AI is not just a future concept — it is already part of our daily life. From smartphones to social media, from online shopping to healthcare, AI is working silently behind many systems we use every day. WHERE DO WE USE AI IN REAL LIFE? Artificial Intelligence is everywhere around us, even if we don’t always notice it. Some common examples include: • YouTube recommending videos based on your interest. • Googl...
π»Setup Guide: VS Code, Live Server & Project Folder π Introduction : Before starting coding, we need some basic tools. These tools help us write code and run websites easily. In this guide, we will learn: - VS Code - Live Server - Project folder . π₯️ 1. VS Code (Code Editor): VS Code is a place where we write code. We use it to create websites and programs.π‘ Why we use VS Code: - It is free It is easy for beginners It helps us write code properly π Simple meaning: VS Code is where we write our code. π 2. Live Server: Live Server helps us see our website in the browser. It shows the result of our code instantly. Benefits: Shows website in browser Updates automatically when we save No need to refresh again and again π Simple meaning: Live Server shows your website live. π 3. Project Folder: A project folder is where we keep a...
Comments
Post a Comment