what is the role of <hr> tag? what are the various attributes it can take?

1 0
2 years ago 789 views
The <hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections. The <hr> tag is an empty tag, and it does not require an end tag. Attributes of the <hr> tag are 1). Align- Used to specify the alignment of the horizontal rule. 2). noshade-Used to specify the bar without shading effect. 3). size- Used to specify the height of the horizontal rule. 4). width- Used to specify the width of the horizontal rule.

what are the 'class' attribute in html

1 0
2 years ago 765 views
The class is an attribute which specifies one or more class names for an HTML element. The class attribute can be used on any HTML element. The class name can be used by CSS and JavaScript to perform certain tasks for elements with the specified class name.

what are different types of lists in html

1 0
2 years ago 767 views
There are three list types in HTML: unordered list — used to group a set of related items in no particular order. ordered list — used to group a set of related items in a specific order. description list — used to display name/value pairs such as terms and definitions.

what are html entities

1 0
2 years ago 721 views
An HTML entity is a piece of text ("string") that begins with an ampersand ( & ) and ends with a semicolon ( ; ) . Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code), and invisible characters (like non-breaking spaces).

what are tags and attributes in html

1 0
2 years ago 758 views
HTML tags are used to hold the HTML element. HTML element holds the content. HTML attributes are used to describe the characteristic of an HTML element in detail. HTML tag starts with < and ends with > Whatever written within a HTML tag are HTML elements.

what is a marquee?

1 0
2 years ago 786 views
Marquee is used to put the scrolling text on a web page. It scrolls the image or text up, down, left or right automatically. You should put the text which you want to scroll within the <marquee>......</marquee> tag. Marquee HTML tag is a non-standard HTML element which is used to scroll a image or text horizontally or vertically. In simple words, you can say that it scrolls the image or text up, down, left or right automatically. Marquee tag was first introduced in early versions of Microsoft's Internet Explorer. It is compared with Netscape's blink element.