Introduction
HTML, or HyperText Markup Language, is the foundation upon which the web is built. It's the secret sauce that turns lines of code into the stunning websites and immersive web applications we adore. In this blog series, we're going to demystify HTML and guide you through its fascinating world, showing you why it's the essential first step in your web development adventure.
So, what exactly is HTML!
Imagine HTML is the blueprint of car, you can assume the blueprint of browsers like Microsoft edge,chrome, opera etc.use to construct the websites you visit!.Without HTML, the web would be a shapeless void, devoid of structure, and devoid of the mesmerizing content you enjoy.
Getting Started with HTML
HTML is the standard markup language for creating web pages. To get started with HTML, you'll need the following:
HTML tags and keywords :
HTML tags are keywords enclosed in angle brackets (<>
) that represent HTML elements. Tags are case-insensitive in HTML, meaning they can be written in uppercase or lowercase, but lowercase is the recommended convention for consistency.
Here are some common HTML tags and their purposes:
<html>
: The root element that contains all other HTML elements on the page.<head>
: Contains meta-information about the document, such as the title and links to external resources like stylesheets and scripts.<title>
: Sets the title of the web page, displayed in the browser's title bar or tab.<meta>
: Provides metadata about the document, including character encoding and description.<script>
: Embeds or references JavaScript code.<body>
: Contains the visible content of the web page, including text, images, and other elements.<div>
: A generic container for grouping and styling elements.<a>
: Creates hyperlinks to other web pages or resources.<img>
: Embeds images in the document.<ul>
and<ol>
: Create unordered and ordered lists, respectively.<li>
: Defines list items within<ul>
(unordered) or<ol>
(ordered) lists.
DOCTYPE
All HTML documents should start with a DOCTYPE declaration to specify the HTML version. For HTML5, use:
COPY
COPY
<!DOCTYPE html>
This tells the browser that this is an HTML5 document.
HTML Tags
The HTML code goes within <html></html>
tags:
COPY
COPY
<!DOCTYPE html>
<html>
</html>
The main parts of an HTML document are:
<head>
- Contains meta information<body>
- Contains the actual content
A basic structure would be:
COPY
COPY
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Headings
You can add headings using <h1>
to <h6>
tags:
<h1>
, <h2>
, <h3>
, <h4>
, <h5>
, <h6>
: Headings of decreasing importance, with <h1>
being the most important and <h6>
the least.
COPY
COPY
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
Paragraphs
Use <p>
tags for paragraphs:
<p>
: Defines a paragraph of text.
COPY
COPY
<p>This is a paragraph.</p>
Links
You can add links using the <a>
tag:
<link>
: Specifies external resources like stylesheets (CSS) or icons.
COPY
COPY
<a href="https://www.example.com">Link to Example</a>
Images
Add images with the <img>
tag and the src
attribute:
COPY
COPY
<img src="image.jpg" alt="Description">
The alt
attribute provides an alternative text.
So in summary, the basic structure of an HTML page would be:
COPY
COPY
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Heading</h1>
<p>Paragraph.</p>
<a href="#">Link</a>
<img src="#" alt="Image">
</body>
</html>
Attributes: HTML elements can also have attributes, which provide additional information about the element or modify its behaviour. Attributes are specified within the opening tag and are written as name-value pairs.
For example, the <a>
(anchor) tag often includes an href
element to specify the URL to which the link points:
code<a href="https://example.com">Visit Example.com</a>
Attributes vary depending on the element and can control things like styling, behaviour, and more.
You can see My todays task code and output:-
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Brief about Html tags and elements</h1>
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUSExMWFhUXGBgXGBcXGBUYFxoXFxcXFhUWFRYYHSggGB0lHRUXITEiJSkrLi4uFx8zODMsNygtLisBCgoKDg0OGxAQGzAlHyUtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIARMAtwMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAFBgMEAAIHAQj/xAA/EAABAwMCAwYDBgQGAgIDAAABAAIRAwQhEjEFQVEGImFxgZETobEyQlLB0fAHFHLhIzNiksLxgrJUohVDU//EABoBAAIDAQEAAAAAAAAAAAAAAAMEAQIFAAb/xAAqEQACAgICAQMEAgMBAQAAAAAAAQI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RkVCdiRAAnn16+C0Iy0JyjsJsvtHejE9Yzj9QvLviTXtMO2BOefQY35osL+nH+TvMlph8gjvGQCechLXGeLvaS2HQRp0Eh2ciQYif7Lk9laF+9ILhETGSOkNifmtqRwT4IXQqFxdjIJx4E7BXHVHARp8PzhZme3kbZoYqUEgvQBkeXXwV+gcfXz/ZQqldCIEg8jBjbmI6yd1etrhpEFwnrMeqVoNZfAPrtE4nfPQeK1q1QOWMzEY8Y/fJaNqA7OGx5yAfL0W9HSW+GM8zCg42cB9odInwMGPL+6r1qhNUYGBv1ERmOkE+q2NeMDeMTv4DPyULCC8x0EkjECcD3CgktVqzww6AC7lJgbgk/VeKEuEaT9nyzA5+OVilFWrLpOJ54+qkouORykH5LFiqixYoDvegUHEDkevyWLEV/iUXYA41VLWugx3qY93QUucfaARH7ysWJ7xP8AW/7F8/5oFVWDXHL+6gvaYAwOZXqxGl+LKIqFG7Mf4bf3yWLEpk6DQLFpWcHEAwJOPMAn5o7Ycj0fPrlYsTcOkLT7Z0DgjdVuC7c6pOx3PMeaG9tWBtRgDWw7UDLWnHwy7Eju5zIhYsV12DYguoNa6mQILqLXO3y4zJ+QRC3yRP7/AHK9WJLy/wDYv6HMH4l6rgkDaY9FvSM9PYdAvViVfYcmo2rC4y0KMW7QMCPIkclixX9iCpfYkiZBEGT8+qqUq7viOE41DHoVixUkSiS6rOlmTuR6aSY9wF6sWKrLI//Z" alt="image" >
<p>one anchor tag and one elements are used : <a href="./first.html" target="_blank" >First html class </a></p>
<p>one anchor tag and one elements are used : <a href="./second.html" target="_self">second html class</a></p>
<p>one anchor tag and one elements are used : <a href="./third.html" target="_parent"> third html class </a></p>
<p>one anchor tag and one elements are used : <a href="./fourth.html" target="_top">fourth html class </a></p>
<p>In google it will recognised as bold(bold tag) :<b>This text is bold.</b></p>
<p>In google it will recognised as Important(strong tag) :<strong> This text is bold.</strong></p>
<p>In google it will recognised as italic(font) :<i>This text is italic</i></p>
<p>In google it will recognised as italic(font) :<em>This text is emphasized.</em></p>
<p>This tag is used for making text small : <small> - Smaller text</p>
<p>This element defines text that has been deleted from a document. Browsers will usually strike a line through deleted text : <del> - Deleted text</p>
<p>element defines a text that has been inserted into a document. Browsers will usually underline inserted text : <ins> - Inserted text</p>
<p>Subscript text can be used for chemical formulas, like : H<sub>2</sub> O</p>
<p>Superscript text can be used for maths square and cubes etc purpose, like : a+b <sup> 2</sup> </p>
<p>this tag is used for poem and writters<pre>jonhy johny
yes papa
eating sugar
no papa
</pre></p>
<p>This tag is used to write the code :<code>{
font-family: Consolas,"courier new";
color: crimson;
background-color: #f1f1f1;
padding: 2px;
font-size: 105%;
}</code></p>
<p>this text is used for highlighting the text with yellow line : <mark>manohar is a good person</mark></p>
</body>
</html>
Out put:-
Brief about Html tags and elements
one anchor tag and one elements are used : First html class
one anchor tag and one elements are used : second html class
one anchor tag and one elements are used : third html class
one anchor tag and one elements are used : fourth html class
In google it will recognised as bold(bold tag) :This text is bold.
In google it will recognised as Important(strong tag) : This text is bold.
In google it will recognised as italic(font) :This text is italic
In google it will recognised as italic(font) :This text is emphasized.
This tag is used for making text small : - Smaller text
This element defines text that has been deleted from a document. Browsers will usually strike a line through deleted text : - Deleted text
element defines a text that has been inserted into a document. Browsers will usually underline inserted text : - Inserted text
Subscript text can be used for chemical formulas, like : H2 O
Superscript text can be used for maths square and cubes etc purpose, like : a+b 2
this tag is used for poem and writters
jonhy johny
yes papa
eating sugar
no papa
This tag is used to write the code :{ font-family: Consolas,"courier new"; color: crimson; background-color: #f1f1f1; padding: 2px; font-size: 105%; }
this text is used for highlighting the text with yellow line : manohar is a good person
End for Todays Task .......
Subscribe to my newsletter
Read articles from Manohar directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by