Thursday, 20 June 2013

HTML

What is HTML?

The HTML lang attribute can be used to declare the language of a Web page or a portion of a Web page. This is meant to assist search engines and browsers. 
Here all sort of information about HTML language, codings,HTML Codes, Basic HTML, &HTML, HTML Course, HTML Help, HTML Guide, Presentations, Presentation On HTML Language, Add HTML, HTML SlidesShow, HTML Web page, HTML 5.0, is provided.
NOTE:DOWNLOAD PRESENTATION ON HTML FROM BELOW LINK

HTML is a language for describing web pages.

    HTML stands for Hyper Text Markup Language
    HTML is a markup language
    A markup language is a set of markup tags
    The tags describe document content
    HTML documents contain HTML tags and plain text
    HTML documents are also called web pages

HTML Tags

HTML markup tags are usually called HTML tags
    HTML tags are keywords (tag names) surrounded by angle brackets like <html>
    HTML tags normally come in pairs like <b> and </b>
    The first tag in a pair is the start tag, the second tag is the end tag
    The end tag is written like the start tag, with a forward slash before the tag name
    Start and end tags are also called opening tags and closing tags

 <tagname>content</tagname>

HTML Elements

E
"HTML tags" and "HTML elements" are often used to describe the same thing.

But strictly speaking, an HTML element is everything between the start tag and the end tag, including the tags:

HTML Element:

<p>This is a paragraph.</p>

HTML Example Explained


The <p> element:

<p>This is my first paragraph.</p>

The <p> element defines a paragraph in the HTML document.
The element has a start tag <p> and an end tag </p>.
The element content is: This is my first paragraph.

The <body> element:

<body>
<p>This is my first paragraph.</p>
</body>

The <body> element defines the body of the HTML document.
The element has a start tag <body> and an end tag </body>.
The element content is another HTML element (a p element).

The <html> element:

<html>

<body>
<p>This is my first paragraph.</p>
</body>

</html>

The <html> element defines the whole HTML document.
The element has a start tag <html> and an end tag </html>.
The element content is another HTML element (the body element).

Don't Forget the End Tag

Some HTML elements might display correctly even if you forget the end tag:
<p>This is a paragraph
<p>This is a paragraph

The example above works in most browsers, because the closing tag is considered optional.

Never rely on this. Many HTML elements will produce unexpected results and/or errors if you forget the end tag .

0 comments:

Post a Comment

    Blogger news

    About

    this blog reveals education , knowledge sharing on multi topics