Saturday, February 5, 2022

HTML(Hyper Text Markup Language)

Welcome! You have found the very easiest way to Learn HTML

 HTML is a web based language in which most of the websites are written. It is used to create a web pages which executes on browser.


Tags and attributes, these are the basics of Html.


There are two type of tags in HTML

1. Tag with closing tag

ex: <html></html>


2. Tag without closing tag

ex: <img />


Tags are used to markup the start of an html element and they are usually enclosed by angle bracket.

for example: <h1>


Attribute is part of a the tag.

1 All tags can have attributes

2 Attribute are specified in the start tag

3 Generally attributes come in the form of name and value like name=value


for example:

<img src="abc.jpg" />


There are some tags you always use in every html page like

<html>,<head>,<title>,<body>



If you want to create a web page:- 


Step 1: Open notepad (or any type of text editor)

Step 2: Save the file with extension of .htm or .html.

Step 3: Start writing the code of html as below


you should always start and end your web page with html tag.

<html>


</html>


All html tags have two section

<html>

<head>

in head section you will be write heading type of tags like <title></title> <link><meta> etc.

</head>

<body>

here is a place your all page design will be written.

</body>

</html>


In next blog we will learn the basic tags and how to use their attributes.

No comments:

Post a Comment