-->
Learn HTML

Learn HTML

What is HTML?
HTML stands for Hyper Text Martkup language for web pages. With HTML you can create your own beautiful website and web application. HTMl is easy to learn and understand.

Which Software used for HTML create pages?
Text editor is the program which allow editing in a written text and create a web pages. Mostly used text editor are Notepad (Window) and Textedit (Mac) and and professional text editor are Notepad++, sublime text etc. So try it in easy way in my website with examples and output.

<!--DOCTYPE-->: It define the document type or it tell the browser about the version of HTML. <html> tag inform the browser that is HTML document <head> is the first element inside the <HTML> element which contain the metadata and must be close before body tag. <title> is the title of HTML page u want to show in browser. <body> text between body tag describe the body contant of the page that is visible content like text, images, heading tag, video etc. <h1> tag define bigest tag of heading <h6> tag defines least tag. <p> tag define paragraph tag is used for next line. 1)

First Example of HTML

<html> <head> <title> Page Title Learn HTML</title> </head> <body> My name is Sahil Bhatia </body> </html>

How to save HTML file in Note pad?

Simply click on Notepad File----save----anyname.html How to run Program? simply double click on .html file your file will open in browser and you can see output. OUTPUT

2) 2nd Example of HTML Heading Tag

<html> <head> <title> Heading tag in HTML</title> </head> <body> <h1>my name is Rajni Bhatia</h1> <h2>my name is Rajni Bhatia<h2> <h3>my name is Rajni Bhatia</h3> <h4>my name is Rajni Bhatia</h4> <h5>my name is Rajni Bhatia</h5> <h6>my name is Rajni Bhatia</h6> </body> </html> OUTPUT

my name is Rajni Bhatia

my name is Rajni Bhatia

my name is Rajni Bhatia

my name is Rajni Bhatia

my name is Rajni Bhatia
my name is Rajni Bhatia
Note:-Mostly used tag is h1, h6. h1 is biggest tag and h6 lease tag u can see in output

3) 3rd Example of Paragraph tag

<html> <head> <title> Heading tag</title> </head> <body> <p>my name is Rajni Bhatia</p> <p>Pagragraph tag is used for next line in lowser</p> <p><h1>my name is Rajni Bhatia</h1></p> </body> </html> OUTPUT

my name is Rajni Bhatia

Pagragraph tag is used for next line in lowser

my name is Rajni Bhatia

0 Response to "Learn HTML"

Post a Comment

Ads on article

Advertise in articles 1

advertising articles 2

Advertise under the article