HTML - Basics

HTML Basic Tags

  • <html>
    The Text between <html> & </html> describes the HTML Document (Web Page). 
  • <body>
    The Text between <body> & </body> describes the visible page content of HTML Document.
  • <title>
    The text between <title> & </title> defines the title of the web browser.
  • <head>
    Header section of the HTML document consistes in between <head> & </head>.
How to write an HTML Document?
  1. Open a notepad
  2. Enter following Sample web page
  3. Save the notepad with ".html" or ".htm" extension.
  4. Open the document with a web browser (ex: Internet Explorer, Mozilla Firefox)

Sample Web Page
<html>
 <head>
  <title>Hello World</title>
 </head>
 <body>
Hi!... This is my First Web Page.
</body>
</html>

No comments:

Post a Comment