Fundamental HTML Tags
<html>: This is like the cover of a book. It tells the computer that everything inside is written in HTML.
<head>: Think of this as the table of contents. It contains important information about the webpage, like its title.
<title>: Just like the title of a book, this tells the computer what to show at the top of the browser tab.
<body>: Imagine this as the pages of the book. It holds all the content that you see on the webpage.
<h1> to <h6>: These are like chapter titles in a book. They show different levels of importance for headings.
<p>: These are like paragraphs in a book. They hold the main text content.
<a>: This is like a magic door in a storybook. Clicking on it takes you to another webpage.
<img>: This is like a picture in a book. It shows an image on the webpage.
<ul> and <ol>: These are like lists of items. <ul> makes a bullet list, and <ol> makes a numbered list.
<li>: This is like each item on a list. It goes inside <ul> or <ol>.
<div>: Think of this as a big box. It helps organize and group different parts of the webpage.
<span>: This is like a small box. It's used to style or change a small part of the text.
<input>: Imagine this as a place to fill in information, like a blank in a Mad Libs story.
<button>: This is like a clickable button. It can do something when you click on it, like submit a form.
Subscribe to my newsletter
Read articles from Arjun Sharma directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
Arjun Sharma
Arjun Sharma
"Enthusiastic QA Analyst with a profound interest in backend development, driven by a passion for creating robust and reliable software systems. Committed to continuous learning and exploration of backend technologies, I find joy in unraveling complexities and optimizing performance. Beyond the code, I am dedicated to mentoring kids, sharing my knowledge, and igniting their curiosity for technology. Through insightful blog posts, I aim to inspire others while fostering a supportive community of learners. Join me on this journey as we explore the world of backend development and empower the next generation of tech enthusiasts!"