HTML TUTORIAL.(HyperText Markup Language)

                  HTML TUTORIAL.

HTML(Hypertext Markup Language) stand for markup language for document designed to be web browser. It can be assisted by technologies such as cascading style sheets(CSS) and scripting language such as Javascript.
HTML  Elements are the building blocks of HTML pages. With HTML constructs, images and other objects such as interactive forms may be embedded into the rendered page. HTML provides a means to create   structure documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as <img /> and <input /> directly introduce content into the page. Other tags such as <p> surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page. HTML code write in notepad and other editor.

filename :-  .html
extension :-  .htm or .html
develop by :-  WHATWG


HTML Tags and Attribute:-

HTML tags are like keywords which defines that how web browser will format and display the content. With the help of tags, a web browser can distinguish between an HTML content and a simple content. HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags.
           HTML tags :- <html>,<body>,</body>,</html>,etc.

       HTML attributes :- <body background="abc">,<hr color ="#000000">

Write this HTML code on your notepad.

<html>
<head>
<title>This is a title.</title>
</head>
<body>
    <h1>This is a heading.</h1>
</body>
</html>
  --------------------------------------------------                               
                                    
and save this html file with this extension '.htm' it is important if you don't this extension your file not run on browser directly.

And open the file.

--------------------OUTPUT----------------------------






heading tags type;-

<h1>This is a heading.</h1>
    <h2>This is a heading.</h2>
    <h3>This is a heading.</h3>
    <h4>This is a heading.</h4>
    <h5>This is a heading.</h5>
    <h6>This is a heading.</h6>
    <h7>This is a heading.</h7>

AND 

<hr> tags used for make a line 

--------------------------OUTPUT--------------------




If you like my blogs come daily and reads my blogs ✌🤞



Comments

Popular posts from this blog

PROJECT 3

Cascading Style Sheets(CSS)

SPEEDTEST PYTHON PROJECT