Thursday, February 19, 2015

HTML Introduction

What is HTML ( Hyper Text Markup Language )?

HTML is a markup language for describing web documents (web pages).
  • Hyper is the opposite of linear. It used to be that computer programs had to move in a linear fashion. This before this, this before this, and so on. HTML does not hold to that pattern and allows the person viewing the World Wide Web page to go anywhere, any time they want.
  • Text is what you will use. Real, honest to goodness English letters.
  • Mark up is what you will do. You will write in plain English and then mark up what you wrote. More to come on that in the next Primer.
  • Language because they needed something that started with “ L ” to finish HTML and Hypertext Markup Louiedidn’t flow correctly. Because it’s a language, really — but the language is plain English.

Creating HTML Document:

Creating an HTML document is easy. To begin coding HTML you need only two things: a simple-text editor and a web browser. Notepad is the most basic of simple-text editors and you will probably code a fair amount of HTML with it.
  • Open Notepad or another text editor.
  • At the top of the page type <html>.
  • On the next line, indent spaces and now add the opening header tag: <head>.
  • On the next line, indent ten spaces and type <title> </title>.
  • Go to the next line, indent five spaces from the margin and insert the closing header tag: </head>.
  • Five spaces in from the margin on the next line, type <body>.
  • Now drop down another line and type the closing tag right below its mate: </body>.
  • Finally, go to the next line and type </html>.
  • In the File menu, choose Save As.
  • In the Save as Type option box, choose All Files.
  • Name the file template.htm.
  • Click Save.

HMTL Example

    <!DOCTYPE html>
    <html>
    <body>
    <h1>HTML Tutorial</h1>
    <p>HTML Introduction</p>
    </body>
    </html>

Read More:



0 comments:


Post a Comment