Skip to main content

What is Html?


HTML
Hyper Text Markup Language(HTML).It is a markup language it can call the tags and attributes.
  • It can’t change the tags.
  • It can change the attributes.
Ex:

<html> is a tag. It can’t change.

<font size=”12”>

The font is a tag, size attributes and 12 is value. 

Font tag can't change, size attribute can be changed and also change the value.

Ex: <font color=”blue”>

The font tag does not change, color attribute is changed previously our using attribute is the size and also change the value.

Syntax:

<!DOCTYPE html>==>It is indicated the HTML version for html5 to browser

<html>==>It indicated the browser that this is an HTML document

<head>==>is a container for all the<head>elements.title,style,script and meta information like these.

<title>-----</title>

</head>

<body>==>It defines the main content of the HTML document

----------

</body>

</html>

In this HTML designing the Static pages.



Sample Example:

<!DOCTYPE html>

<html>

<head>

<title>sample program</title>

</head>

<body bgcolor=”green”>

Have a nice day

</body>

</html>

save(ctrl+s) this file .html extension in your location.Then double click the your file open the browser ex:chrome,firefox,internet explore and etc.

OutPut:

Comments

Popular posts from this blog

Header Tags in html

Header tags: In this HTML h1 to h6 header tags.h1 is biggest header tag 24px.h6 is the smallest header tag 10px.By using the header tags heading and side heading purpose. h1 { font-size: 24px;} h2 { font-size: 22px;} h3 { font-size: 18px;} h4 { font-size: 16px;} h5 { font-size: 12px;} h6 { font-size: 10px;} Example: <html> <head> <title>Header</title> </head> <body> <h1>Welcome To Htmla2ztutorial</h1> <h2>Welcome To Htmla2ztutorial</h2> <h3>Welcome To Htmla2ztutorial</h3> <h4>Welcome To Htmla2ztutorial</h4> <h5>Welcome To Htmla2ztutorial</h5> <h6>Welcome To Htmla2ztutorial</h6> </body> </html> OutPut :

How to Create a link in html?|What is link in html|What is purpose of link in html?

Links: Html links are Hyper links You click on a link and go to another page. When you move the mouse over a link, the mouse arrow symbol will change into a hand symbol. In this HTML two types of linkings. 1)Text linking 2)Image linking Text Linking: In this Four types of methods...... 1)Normal Linking 2)Web Page Linking 3)Email Linking 4)Named Anchor Example: <html> <head> <title>Header</title> </head> <body> <a href="form.html">Out File</a><br> <a href="https:www.google.com">web page linking</a><br> <a href="mailto:yuvarajkoppati@gmail.com">email linking</a><br> </body> </html> Nmaed Anchor: <html> <head> <title>Header</title> </head> <body> <font size="12" color="orange"> <a name="up...