Social Media

Introduction to HTML

HTML is a Hypertext markup language that describes the structure and behavior of a web document. HTML files usually end with the suffix .html or .htm and are in ASCII(plain text) format and can be cred in any text editor.

HTML is a way of representing text and linking that text to other kinds of resource such as sound files, graphics file and multimedia files. It allows these different kinds of data to be displayed together and allows them to argument and reinforce one another. HTML is nothing more than a plain text file that allows for the inclusion of two kinds of text:

HTML document are of two types.

  1. Static
  2. Dynamic

HTML Static Pages.

Static HTML pages are prepared in advance of the request . The web server returns the HTML pages to the user, but takes no special action. The user request a static page by typing in an URL(http://myprograme.com) or by clicking a link pointing to an URL. The URL request is sent to the server. The server responds by returning the static HTML page.

HMTL Dynamic Pages.

Dynamic HMTL pages are created in response to a user's request. A Web browser collects information by presenting a page with text boxex, menus and check boxes that the user file in or select. When the user clicks on a button on a from, the data from the from is sent to the Web server. The server either passes the data to a script or application to be processed or it queries or posts data to a database. The server then returns result to the user in HTML pages.