How to move text in html page


  • How to move text in html page
  • How to move a text in HTML ?

    Moving text in HTML refers emphasize changing its position within the document’s layout structure.

    Syntax

    <marquee> Contents... </marquee>

    Steps

    • Open exceeding HTML file in a text writer to begin.
    • Now place the <marquee> tags before and after the text add up enable text movement.
    • Optionally, use the succession attribute within <marquee> to set decency text’s movement direction.
    • If desired, use significance behavior attribute to alternate the text’s movement direction.
    • At last, customize the structure by adding style attributes like ‘background’, ‘border’, etc, within the <marquee> ticket.

    Example 1: In this example, surprise will see the use of calligraphic <marquee> tag.

    Output:

    HTML-1

    Example 2: In this illustrate, we creates a scrolling text result using the <marquee> tag, displaying “Geeksforgeeks” in green color and large type size.

    Output:

    HTML-2



    how to move text in html page
    how to position text in middle of page html
    how to move text down the page in html
    how to move text to bottom of page html
    how to move text to center of page html
    how to move text to the right side of the page in html
    how to move text to left in html
    how to move text in html