HYPER TEXT MARKUP LANGUAGE
The language used to develop web pages is called Hyper Text Markup Language (HTML). HTML is the language interpreted by a Browser. Web Pages are also called HTML documents. HTML is a set of special codes that can be embedded in text to add formatting and linking information. HTML is specified as TAGS in an HTML document (i.e. the Web page).
HTML TAGS
Tags are instructions that are embedded directly into the text of the document. An HTML tag is a single to a browser that it should do something other than just throw text up on the screen. By convention all HTML tags begin with an open angle bracket(<) and end with a close angle bracket(>).
HTML tags can be of two types:
Paired Tags
A tag is said to be a paired tag if it, along with a compation tag, flanks the text. For example the <B> tag is a paired tag. The <B> tag with its companion tag </B> causes the text contained between them to be rendered in bold. The effect of other paired tag is applied only to the text they contain.
In paired tags, the first tag (<B>) is often called the opening tag and the second tag (</B>) is called the closing tag.
The opening tag activates the effect and the closing tag turns the effect off.
Singular Tags
The second type of tag is the singular or stand-alone tag. A stand-alone tag does not have a companion tag For Example <BR/> tag will insert a line break. This tag does not require any companion tag.
Note :
Some HTML tags require additional information to be supplied to them. For instance, when a picture is placed on the screen, information like the height and width of the picture can be specified.
Additional information supplied to an HTML tag is known as Attributes of a tag. Attributes are written immediately following the tag, separated by a space Multiple attributes can be associated with a tag, also separated by a space.
The language used to develop web pages is called Hyper Text Markup Language (HTML). HTML is the language interpreted by a Browser. Web Pages are also called HTML documents. HTML is a set of special codes that can be embedded in text to add formatting and linking information. HTML is specified as TAGS in an HTML document (i.e. the Web page).
HTML TAGS
Tags are instructions that are embedded directly into the text of the document. An HTML tag is a single to a browser that it should do something other than just throw text up on the screen. By convention all HTML tags begin with an open angle bracket(<) and end with a close angle bracket(>).
HTML tags can be of two types:
Paired Tags
A tag is said to be a paired tag if it, along with a compation tag, flanks the text. For example the <B> tag is a paired tag. The <B> tag with its companion tag </B> causes the text contained between them to be rendered in bold. The effect of other paired tag is applied only to the text they contain.
In paired tags, the first tag (<B>) is often called the opening tag and the second tag (</B>) is called the closing tag.
The opening tag activates the effect and the closing tag turns the effect off.
Singular Tags
The second type of tag is the singular or stand-alone tag. A stand-alone tag does not have a companion tag For Example <BR/> tag will insert a line break. This tag does not require any companion tag.
Note :
Some HTML tags require additional information to be supplied to them. For instance, when a picture is placed on the screen, information like the height and width of the picture can be specified.
Additional information supplied to an HTML tag is known as Attributes of a tag. Attributes are written immediately following the tag, separated by a space Multiple attributes can be associated with a tag, also separated by a space.
1 comment:
Nice blog.Keep updating UI online course
Post a Comment