Introduction to HTML

Before we start in the writing web pages. You have to know what HTML can do and what it can’t do.

The World Wide Web is constructed from many millions of individual pages, and those pages are, in general written in Hypertext Markup Language, better known as HTML.
We use it to mark up our text documents so that web browsers know how to display them and define hypertext links within them to provide navigation within or between them.

I thank at least you have worked with word processing programs that use style sheets like Microsoft Word, or you have done something like that; each section of text conforms to one of a set of styles that are predefined before you start working.

HTML defines a set of styles for web pages: titles, paragraphs, lists and tables. It also defines the character styles such as bold and sample code. These styles are listed in documents using HTML tags. Each tag has a specific name and is separated from the content of the document using a notation.

HTML Does Not Describe Page Layout

When you’re working with a word processor or page layout program, styles are not just named elements of a page they also include formatting information such as the font size and style, indentation, underlining, when you write some text that’s supposed to be a heading, you can apply the Heading style to it, and the program automatically formats that paragraph for you in the correct style.

HTML doesn’t go this far. For the most part, HTML doesn’t say anything about how a page looks when it’s viewed. HTML tags just indicate that an element is a heading or a list; they say nothing about how that heading or list is to be formatted. So, as with the magazine example and the layout person who formats your article, the layout person’s job is to decide how big the heading should be and what font it should be in. The only thing you have to worry about is marking which section is supposed to be a heading.

Although HTML doesn’t say much about how a page looks when it’s viewed, Cascading Style Sheets (CSS) enable you to apply advanced formatting to HTML tags. Many changes in HTML 4.0 favor the use of CSS tags. And XHTML, which is the current version of HTML, eliminates almost all tags that are associated with formatting in favor of Cascading Style Sheets.

Different browsers running on diverse platforms might have various style mappings for each page element. Some browsers might use different font styles than others. For example, a browser on a desktop computer might display italics as italics, whereas a handheld device or mobile phone might use reverse text or underlining on systems that don’t have italic fonts. Or it might put a heading in all capital letters instead of a larger font.

What this means to you as a web page designer is that the pages you create with HTML might look radically different from system to system and from browser to browser. The actual information and links inside those pages are still there, but the onscreen appearance changes. You can design a web page so that it looks perfect on your computer system, but when someone else reads it on a different system, it might look entirely different (and it might very well be entirely unreadable).

How Markup Works?

HTML is a markup language. Writing in a markup language means that you start with the text of your page and add special tags around words and paragraphs. The tags indicate the different parts of the page and produce different effects in the browser.

Filed under HTML XHTML And CSS. You can follow any responses to this entry through the RSS 2.0. You can leave a response by filling following comment form or trackback to this entry from your site

HTML XHTML And CSS' CATEGORY »

Introduction to HTML
From HTML To XHTML
Inside An HTML File
Creating Your First HTML Page
Intergrate CSS

No Responses for “Intergrate CSS”

  1. Geb says:

    genuinely a fantastic post. I will definitely be reading this blog more.

Leave a Reply