ad

what is HTML? and Basics of HTML

HTML and CSS


HTML stands for HyperText Markup Language. Hypertext means "text with links in it." Any time you click on a word that brings you to a new webpage, you've clicked on hypertext!

A markup language is a programming language used to make text do more than just sit on a page: it can turn text into images, links, tables, lists, and much more. HTML is the markup language we'll be learning.

Some basics of HTML tag ?



Delimiters: <, >, /

Delimiters surround the tag and inform the parser that it should read the enclosed information as an HTML element.
Tags:
Tags contain elements which provide instructions for how information will be processed or displayed. There are both starter tags <TAG> and end tags </TAGS>

Elements:

A basic unit of an HTML document. The name of the element is given in the name of the tag, and specifies the meaning associated with a block of text. Some elements are empty since they don't effect a block of text. Elements that have contents are also called containers, i.e., they contain attributes.
Example: the <HR> tag contains the Horizontal Ruler element. It is an empty element in that it has no attribute.

Attribute:

Defines a special property of an HTML element.
Example: <IMG SRC="image.gif"> means that the element IMG has an attribute SRC, which specifies the name of the image file, which is assigned the value "image.gif".
HTML is a structured hierarchical language that requires you to follow its rules if you wish your documents to appear correctly. For example, certain elements and tags are required to fit within other elements and tags and will not work unless they are properly placed.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete