This tag is used to create a paragraph on the web page. It is a container tag but its closing tag < /P > is optional. You can align the paragraph either in left, right, center or justify using ALIGN attribute.
Syntax: < P ALIGN: "left"/ "right"/ "center" etc.. > ...... < /P >
This tag is used for starting a new line at that point. You can put < BR > tag on the document from where you want to break the line. But it does not break the paragraph. It does not have end tag as it is an empty tag.
Syntax: Text.... < BR >
This tag is used to draw the horizontal line across the page. It is an empty tag. you can use different attributes with this tag such as Align, Color, Size, Width etc.
Syntax: < HR Align = "left" / "right"/ "center"/ no shade
Color = " Color _ name "
Size = " Pixels "
Width = " Percentage "
The heading tags are used to set different headings on the document. In the HTML, headings are used up to 6 levels ( H1 to H6 ). The first level of heading is defined using < H1 > tag. In the < H1 > tag, the heading appears in large size. < H6 > is the last level heading where text appears in small size.
Syntax: < Hn align = "left"/ "right" / "center" > text < /Hn >
where, n is a number from 1 to 6.
Using < IMG > tag you can insert inline images into the web page. This tag does not have the end tag. Some attributes of this tag are src, width, height, align, border etc.
Syntax: < IMG >
SRC = " image file "
Width = " value "
Height = " Value "
Align = " Left " / " Right " / " Center " / " Top" / "Bottom"
Border = " Value "
The < marquee > tag is used for scrolling piece of text or image displayed either horizontally across or vertically down on the web page. the text or picture can be animated in the browser with the help of < MARQUEE > tag. The text or picture can be put in between opening and closing < MARQUEE > tag.
< MARQUEE >
Behavior = " Slide " / " Scroll " / " Alternate "
Bgcolor = " Color name "
Direction = " Left " / " Right " / " Up "/ "Down "
Scroll delay = Time in millisecond
< /Marquee >
The marquee tag creates a scrolling effect and can be tailored to include any HTML content.
The attributes of marquees tags are:
Write the use of Anchor tag < A >?
The Anchor tag < A > is used to create all types of hyperlinks in the web page. every anchor tag must have a closing or end tag ( < /A >). The href attribute is compulsory used with this tag.
What is the use of fone style tag?
The font style tags are used to change the appearance of the text such as Bold, Italic, Underline, etc
© 2019-20 Kullabs. All Rights Reserved.