What is an html File?
HTML is a format that tells a computer how to display a web page. The documents themselves are plain text files with special "tags" or codes that a web browser uses to interpret and display information on your computer screen.
- 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
try this 1st Example?
Open your text editior or note pad and type the following text
<html>
<head>
<title> My first web page </title>
</head>
<body>
This is my first Home page. <b> this text is bold</b>
</body>
</html>
Now click on the file (mypage.html) and see the your web-page
such like even u can see the web-page location as it is u kept on desktop file:///C:/Users/nilotpal%20malakar/Desktop/mypage.html
such like even u can see the web-page location as it is u kept on desktop file:///C:/Users/nilotpal%20malakar/Desktop/mypage.html
Lets explained the Example
what u just made it was a just skeleton html document.
- the first tag in your html document is<html>. this tag tells your browser that this is the start of an html documents.. The last tag in your document is </html>. This tag tells your browser that this is 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> tag is used to uniquely identify each document and is also displayed in the title bar of the browser window.
- 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.
What is an html File? lesson-1
Reviewed by Raj Tech Info
on
April 17, 2019
Rating:
No comments: