Wednesday, 9 March 2016

HTML Tutorial



 Q1.  What is HTML
 Ans.           HTML is a markup language for 
 describing web documents  (web pages). 
  1.  HTML stands for Hyper Text Markup Language.


   2.   A markup language is a set of markup tags.

     3.   HTML documents are described  by HTML tags.
     4.   Each HTML tag describes different document content.
      This Application is designed for web designers and web      developers need to understand HTML.

First to start this HTML Application you should basic knowledge of Window or Linux operating system Means You have some knowledge of computer. You start this program you have to knowledge. How to open HTML and How to save HTML file.
                 Q2:-   How to open HTML.
                 Ans:- HTML works in notepad, notepad ++ etc.
                   Click  Start button 

you see this image in computer show


                 search bar write note pad and show notepad incon Click note pad you notepad open.
                                                                                 or  
and click all programs and click accessories and click notepad. 
To open Notepad in Windows 8 or later: Open the Start Screen (the window symbol at the bottom right on your screen). Type Notepad.
HTML History 
HTML was created by Berners- lee in late 1991 but HTML 2.0 was the first standard HTML specification which was published in 1995. HTML 4.01 was a major version of HTML and it was published in late 1999. Through HTML 4.01 version is widely used but currently we are having HTML – 5. HTML – 5 version was published in 2012.
Note:-  Student must be know that HTML must be file save in .html
For Example I file save name must be write sahil.html or any more a.html etc.
To open a file in a browser, double click on the file, or right-click, and choose open with opera, firebox, or internet explorer or any other browser.
HTML works almost all browsers but some time image not show in
Opera Mini, Firebox browser etc.
So image file open in Window Internet explorer browser. HTML Most Important Tags
     1.     The DOCTYPE declaration  defines the document type to be HTML
      2.     The text between <html> and </html> describes an HTML document
     3.     The text between <head> and </head> provides information about the document
      4.     The text between <title> and </title> provides a title for the document
      5.     The text between <body> and </body> describes the visible page content
      6.     The text between <h1> and </h1> ,<h2> and </h2>, <h3> and </h4>, <h5> and</h5>, <h6> and </h6> describes a heading
       7.     The text between <p> and </p> describes a paragraph
Using this description, a web browser can display a document with a heading and a paragraph.
There is two way to write html.
1. A Simple Example of HTML

<html>
<body>
This is a simple example of  HTML
<body>
<html>
OUTPUT


 or 

<html>

<head>

<title> page title </title>
</head>
<body>
This is a simple example of HTML
<body>
<html>
OUTPUT 

Only difference upper side name
Both are right. In second example upper side show title show you have write.
HTML File must be save in .html

You also learn C Tutorial Step By step Guide  www.javatpoint.info


Next page



No comments:

Post a Comment