What is an HTML File ?? - Ashutosh

Hot

Post Top Ad

Wednesday, September 6, 2017

What is an HTML File ??

Hello, Everyone myself Ashutosh and Today you learn About What is an HTML file ??





 Q. What is an HTML file ?

Ans. • HTML Stands for Hyper text markup language
         • An HTML File is a text file containing small markup tags.
         • The markup tags tell the Web browser how to display the page.
         • An HTML file must have an htm or html file extension
         • An HTML file can be created using a simple text editor


Simple Examples

<html>

<head>

<title>Title of page </title>

</head>

<body>

This is my first homepage. <b> This is text is bold</b>

</body>

</html>

     Save the file as "mypage.htm". Start tour internet browser. Select " open"(or"open page") in the file menu of your browser .A dialog box will appear. Select "browse" (or "choose file") and locate the HTML file you just created-" mypage.htm"- select it and click "open". Now you should see an address in the dialog box, for example " C:\MyDocuments\mypage.htm".
Click OK ,and browser will display the page.


Example Explained

The first tag in your HTML document is <html>. This tag tells your browser that this is the start of an HTML document. The last tag in your document is </html>. This tag tells your browser that this ia the end of the HTML document.

The text between the <head> tag and the </head> tag is header information. Header information is not displayed in the browser window . The text between the <title> tags is the title of your document. The title is displayed in your browser's caption .The text between the <body> tags is the text that will be displayed in your browser. The text between the <b> and </b> tags will be displayed in a bold font.

HTM Or HTML Extension


When you save an HTML file using a WYSIWYG (what you see is what you get) editor like Frontpage or Dreamweaver,instead of writing your markup tags in a plaintext file. However,if you want to be a skillfull Web developer, We strongly recommend that you use a plain text editor to learn your primer HTML.


Thanks..Everyone

Written with Heart 💙

Subscribe
www.Ashutosh000.blogspot.com

Created by Ashutosh