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

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...

Text Formatting tags in Html

Text Formatting  tags:           This section includes the tags often used for formatting the HTML text.We have many formatting tags in HTML. These are : <font> It is used for change our text color, text size and also change the text style. Ex: <font face=”Liberation Serif” color=”red” size=”12”>welcome to Htmla2ztutorial </font>. <b> tag will bold the text inside the tag. <b>welcome to htmla2ztutorial </b> <i>tag will italic the text inside the tag. <i>welcome to htmla2ztutorial </i> <u>tag will underline the text in side the tag. <u>welcome to htmla2ztutorial </u> <strike>tag will strike the text in side the tag. <strike>welcome to htmla2ztutorial </strike> <sup> tag to define superscripted text. (a+b)<sup>2</sup> Output:(a+b) 2 <sub>tag to define subscript text. ...