HTML Tutorial #1: Create your first Static web page.

What is HTML?
HTML stands for Hyper Text Markup Language, which is the most widely used language on Web to develop web pages. Basically, As its name suggests, HTML is a Markup Language which means you use HTML to simply "mark-up" a text document with tags that tell a Web browser how to structure it to display. 

Here is a easiest way to create a simple web page.
You do not need any special software or web server to this tutorial. I recommend that you start with notepad for writing and editing HTML files.

STEP: 1Press window button+R, write NOTEPAD and simply click OK button.








STEP: 2 Type in the Notepad:

           <!DOCTYPE html>
           <html>
           <head>
           <title>First static page.</title>
           </head>
           <body>
           </body>
           </html>

(* This is basic code that you definitely write on your editor. In the title tag anything you can write.)





STEP 3: The <body> tag is the document's body. It will be directly visible on your web page. The <body> element contains all the contents of an HTML document, such as headings, paragraphs, hyperlinks, images, tables, lists, etc.




In this HTML Document, the <body> tag contains two elements <h1>=heading and <p>=paragraph. 

STEP 4: Now press ctrl+shift+s to save the notepad document. Remember always html document will be save the extension name .html or .htm. It will show on browser mode. Double click on save file..




Finally it's look like this. This is the easiest steps to create a simple static web page. In the next tutorial we will see some HTML tags.












Comments

Post a Comment