Sunday, 15 October 2017

A HTML marquee is a looking over bit of content showed either on a level plane crosswise over or vertically down your site page contingent upon the settings. This is made by utilizing HTML <marquees> tag.

Note − The <marquee> tag censured in HTML5. Try not to utilize this component, rather you can utilize JavaScript and CSS to make such impacts.

Sentence structure

A basic grammar to utilize HTML <marquee> tag is as per the following −

<marquee attribute_name = "attribute_value"....more attributes>
   One or more lines or text message or image
</marquee>

The <marquee> Tag Attributes 

Following is the rundown of imperative traits which can be utilized with <marquee> tag.

Sr.NoAttribute & Description
1
width
This specifies the width of the marquee. This can be a value like 10 or 20% etc.
2
height
This specifies the height of the marquee. This can be a value like 10 or 20% etc.
3
direction
This specifies the direction in which marquee should scroll. This can be a value like up, down, left or right.
4
behavior
This specifies the type of scrolling of the marquee. This can have a value like scroll, slide and alternate.
5
scrolldelay
This specifies how long to delay between each jump. This will have a value like 10 etc.
6
scrollamount
This specifies the speed of marquee text. This can have a value like 10 etc.
7
loop
This specifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly.
8
bgcolor
This specifies background color in terms of color name or color hex value.
9
hspace
This specifies horizontal space around the marquee. This can be a value like 10 or 20% etc.
10
vspace
This specifies vertical space around the marquee. This can be a value like 10 or 20% etc.

The following are couple of cases to exhibit the utilization of marquee tag.

Illustrations - 1 
<!DOCTYPE html>
<html>

   <head>
      <title>HTML marquee Tag</title>
   </head>
	
   <body>
      <marquee>This is basic example of marquee</marquee>
   </body>
	
</html>

Cases - 2 

<!DOCTYPE html>
<html>

   <head>
      <title>HTML marquee Tag</title>
   </head>
	
   <body>
      <marquee width = "50%">This example will take only 50% width</marquee>
   </body>
	
</html>

Illustrations - 3 

<!DOCTYPE html>
<html>

   <head>
      <title>HTML marquee Tag</title>
   </head>

   <body>
      <marquee direction = "right">This text will scroll from left to right</marquee>
   </body>
	
</html>

Illustrations - 4 

<!DOCTYPE html>
<html>

   <head>
      <title>HTML marquee Tag</title>
   </head>
	
   <body>
      <marquee direction = "up">This text will scroll from bottom to up</marquee>
   </body>
	
</html>

Related Posts:

  • NeoBux The basic and least demanding approach to procure online is through NeoBux. The main work for you is to peruse their publicist's site. NeoBux will pay you for the locales you visit. The income you make will be paid to you… Read More
  • Fiverr The shoddy and simplest approach to gain cash is utilizing the  site Fiverr.com.  Here, your work is frequently alluded to a gig. You may do whatever the work you like. For instance, on the off chance that you are keen… Read More
  • Readbud : Readbud is where you'll get paid for perusing the articles. You may pick your own particular enthusiasm to peruse and profit by understanding them. You'll pick up learning as well as cash with it. Readbud pays you throu… Read More
  • ScriptLance A more secure method for procuring cash through online is by ScriptLance. On the off chance that the youngster is more inspired by programming or have a decent learning in programming then he/she can win cash thorugh Scri… Read More
  • Freelancer You can do any specialist occupations at freelancer.com and gain modest bunch of cash on the web. You may do whatever the employment you are occupied with. The individual who needs to finish his/her work may employ you to c… Read More

0 comments:

Translate

GoogleTech786. Powered by Blogger.

Subscribe Youtube

Our Facebook Page

Wikipedia

Search results

Popular Posts

Adsense