Learn HTML in One Video - CodeWithHarry
Learn HTML in One Video - CodeWithHarry
Here you go !
HTML Files
~ Every Web page is a Html file. Each Html file is just a plain text file with ".html" file extension
HTML Tags
~ Html tags are hidden keywords within a Web page that defines format of that particular Web Browser.
~ Most tags have two parts namely 'Closing Tag' and 'Opening Tag'. (Note that closing tag has the same text as the opening tag but
has additional forward slash / character.
1. <html> </html>
All tags fall in between the html tags. It defines the document as Web page.
2. <head> </head>
The header contains information like title of the document that won't appear on actual page.
3. <title> </title>
The title defines the title that will appear in the title bar of the Web browser.
4. <body> </body>
The body tags contain all the visible content of the page including all images, links, etc.
https://www.codewithharry.com/videos/learn-html-in-one-video-in-hindi 1/3
7/20/2021 Learn HTML In One Video - CodeWithHarry
Basic Tags-
2. Paragraphs
3. Links
4. Image
Tag Attributes
Attributes helps one to customise a tag and are defined within the opening tag. For Example - <ol type = "a">
~ Attributes are often assigned a value using the equal sign, such as width = 65%
~ Break Tag
<br> Tag is used for styling. In most cases it's preferred to use CSS and Java for Styling.
~ Comment Tag
It's not visible on the actual page but remains saved in the language itself.
~ Form tag- It is used for adding a special Form to the Web page.
<form>
<form>
Similarly there are also other tags like <table> tags used to form a table with table row and table headings. Caption tags, Div Tags,
Meta tags, etc.
We can also link 'heads tag' to external CSS easily. You can prefer other 'Sublime Text' or 'Atom Editor' to make Coding in Html a fun
rather than using Notepad for Coding.
https://www.codewithharry.com/videos/learn-html-in-one-video-in-hindi 2/3
7/20/2021 Learn HTML In One Video - CodeWithHarry
<!DOCTYPE html>
<html>
<title>This
This is my title</title>
title
<!-- this is a comment -->
<head>
</head>
<body>
<ol type="i">
<li><a href="https://www.google.com">Go
Go to google</a></li>
google
<li>item2
item2</li>
<li>item3
item3</li>
https://www.codewithharry.com/videos/learn-html-in-one-video-in-hindi 3/3