Thursday, January 11, 2018

How To Use Marquee Tag In Html

Here in this HTML Tutorial We Will Try To Show All Type Marquee Tag.The HTML <marquee> tag is used for scrolling piece of text or image displayed either horizontally across or vertically down your web site page depending on the settings.The HTML <marquee> element is used to insert a scrolling area of text. You can control what happens when the text reaches the edges of its content area using its attributes.HTML <marquee> element is used to create a scrolling text or an image. We can give it a direction horizontally or vertically.The <marquee> element comes in pairs. Which means that the tag has opening (<marquee>) and closing (</marquee> )elements.The <marquee> element was used to identify text that should move across a defined section of a webpage in a horizontal or vertical direction. The element has been deprecated and should no longer be used. CSS or JavaScript can be used to create similar effects.When writing in HTML, the <marquee> tag is a block element used to designate an area that contains scrolling text or a scrolling image. This area is in a line by default, but can be changed to a box utilizing attributes.Try to avoid using it.The HTML <marquee> element is used to insert a scrolling area of text. You can control what happens when the text reaches the edges of its content area using its attributes. The <marquee> element is obsolete and must not be used. The following sections contain information about this tag, including examples of it in use, as well as related attributes and browser compatibility.Within an HTML tag, an attribute dictates certain aspects of an HTML element. Attributes are made up of a name and value pair; all tags support standard attributes. The following table shows all of the current unique HTML attributes for the <marquee> tag.HTML <marquee> tag use to create a scrolling text or scrolling image from left to right, right to left, top to bottom, bottom to top. There is no limit. It's user define choice.<marquee> tag is a container tag to create scrolling text.<marquee> tag support following some attributes. This attributes use to add more special effect and easy control.HTML Marquee is used to scroll text or image from left to right, right to left, bottom to top and top to bottom direction. We can also control marquee speed, marquee direction , marquee scrolldelay and Stop or start marquee on mouseover and mouseout.Direction attribute can change direction of marquee, i.e from left to right, right to left, top to bottom or bottom to top. Default direction of marquee is left.I will show you in this article some ways you can animate text with the marquee tag. The marquee tag is an HTML element that makes text to move from left to right and top to down.



Step 1 :


<!DOCTYPE html>

<html>

<head>

<title>Marquee</title>

</head>

<body>

<marquee behavior="scroll" scrollamount="10" direction="up">

This is Scroll Marquee Behavior

</marquee>

<marquee behavior="slide" scrollamount="20" direction="left">

This is Side Marquee Behavior

</marquee>

<marquee behavior="alternate" scrollamount="20" direction="left">

This is alternate Marquee Behavior

</marquee>

</body>



</html> 


Output :




No comments:

Post a Comment

How To Create Image Gallery In Html

Hello Friend My Name Is Viraj,Today I Will Create Image Gallery And Display On A Webpage.The emergence of CSS3 technology has enabled web d...