Example:
<marquee>This is Sample example of marquee</marquee> |
Attribute |
Value
|
Description
|
behavior | scroll slid alternate |
Defines the type of scrolling. |
bgcolor | rgb(x,x,x) #xxxxxx colorname |
Deprecated - Specifies the background color. |
direction | up down left right |
Defines the direction of scrolling the content. |
height | pixels or % | Defines the height of marquee. |
hspace | pixels | Specifies horizontal space around the marquee. |
loop | number | Specifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly. |
scrolldelay | seconds | Defines how long to delay between each jump. |
scrollamount | number | Defines how how far to jump. |
width | pixels or % | Defines the width of marquee. |
vspace | pixels | Specifies vertical space around the marquee. |
Attribute |
Description
|
class | Document wide identifier |
dir | Specifies the direction of the text |
id | Document wide identifier |
title | Specifies a title to associate with the element. |
style | Helps to include inline casecadubf style sheet. |
lang | Sets the language code. |
xml:lang | Sets the language code. |
Attribute |
Description
|
onclick | Script runs when a mouse click |
ondblclick | Script runs when a mouse double-click |
onmousedown | Script runs when mouse button is pressed |
onmouseup | Script runs when mouse button is released |
onmouseover | Script runs when mouse pointer moves over an element |
onmousemove | Script runs when mouse pointer moves |
onmouseout | Script runs when mouse pointer moves out of an element |
onkeypress | Script runs when key is pressed and released |
onkeydown | Script runs when key is pressed |
onkeyup | Script runs when key is released |
<marquee behavior="alternate" bgcolor="#FFCCFF" width="400px" height="200px" direction="up" loop="4" scrollamount="6" scrolldelay="600" >
It Job Careers, The Best Site For IT Computer Course Learners And Job Seekers!
</marquee>
o/p>---
HTML Attributes are property of the elements which may have values and these attribute values are always enclosed in quotes. It’s providing to the browser with some additional information about an elements how the elements should appear or behave. HTML elements can contain one or more attributes, attribute names and attribute values are case-insensitive and separated by an equals (=) sign.
ReplyDelete[HTML Attributes](http://www.willvick.com/HTML/HTMLAttribute.aspx)
[HTML Attributes Examples](http://www.willvick.com/HTML/HTMLExampleAttribute.aspx)
[Youtube - HTML Tutorial - Attributes](http://www.youtube.com/watch?v=ucOXvaCEZgg)