{"id":5067,"date":"2022-10-27T05:40:15","date_gmt":"2022-10-27T05:40:15","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=5067"},"modified":"2022-10-27T05:40:15","modified_gmt":"2022-10-27T05:40:15","slug":"what-is-a-marquee-tag","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/","title":{"rendered":"What is a marquee tag ?"},"content":{"rendered":"<ul>\n<li style=\"text-align: justify;\">In HTML it is used to create scrolling text or image in a webpage.<\/li>\n<li style=\"text-align: justify;\">It scrolls either from vertically top to bottom or bottom to top or horizontally left to right or right to left.<\/li>\n<li style=\"text-align: justify;\">The marquee element comes in pairs which means that the tag has opening and closing elements.<\/li>\n<li style=\"text-align: justify;\">The marquee is divided into two methods they are start (), stop ().<\/li>\n<li style=\"text-align: justify;\">Start () is used to start the scrolling of the Marquee Tag.<\/li>\n<li style=\"text-align: justify;\">Stop () is used to stop the scrolling the marquee tag.<\/li>\n<\/ul>\n<h2 id=\"syntax\" style=\"text-align: justify;\">Syntax<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-markup code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markup code-embed-code\"><marquee><br\/>   <--- contents ---><br\/><\/marquee><\/code><\/pre> <\/div>\n<h2 id=\"sample-code\" style=\"text-align: justify;\">Sample Code<\/h2>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-markup code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markup code-embed-code\"><!DOCTYPE html><br\/><html><br\/><head><br\/>    <title>Marquee Tag<\/title><br\/>    <style><br\/>    .main {<br\/>        text-align:center;<br\/>    }<br\/>    .marq {<br\/>        padding-top:30px;<br\/>        padding-bottom:30px;<br\/>    }<br\/>    .geek1 {<br\/>        font-size:36px;<br\/>        font-weight:bold;<br\/>        color:blue;<br\/>        padding-bottom:10px;<br\/>    }<br\/>    <\/style><br\/><\/head><br\/> <br\/><body><br\/>    <div class = &quot;main&quot;><br\/>    <marquee class=&quot;marq&quot; bgcolor = &quot;Pink&quot; direction = &quot;left&quot; loop=&quot;&quot; ><br\/>        <div class=&quot;geek1&quot;>Welcome to Wikitechy<\/div><br\/>        <div class=&quot;geek2&quot;>Kaashiv Infotech<\/div><br\/>    <\/marquee><br\/>    <\/div><br\/><\/body><br\/><\/html>                   <\/code><\/pre> <\/div>\n<h2 id=\"output\" style=\"text-align: justify;\">Output<\/h2>\n<p style=\"text-align: justify;\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-5068\" src=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif\" alt=\"\" width=\"1342\" height=\"576\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In HTML it is used to create scrolling text or image in a webpage. It scrolls either from vertically top to bottom or bottom to top or horizontally left to right or right to left. The marquee element comes in pairs which means that the tag has opening and closing elements. The marquee is divided [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19019],"tags":[19083,19076,19075,19067,19077,19078,19081,19080,19082,19079],"class_list":["post-5067","post","type-post","status-publish","format-standard","hentry","category-html","tag-html-marquee-replacement","tag-html-marquee-tag","tag-html-marquees","tag-html-tag","tag-marquee-element","tag-marquee-html","tag-marquee-tag-attributes","tag-marquee-tag-example","tag-marquee-tag-in-css","tag-the-marquee-tag-in-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is a marquee tag ? - HTML Marquee Tag - Marquee element<\/title>\n<meta name=\"description\" content=\"What is a marquee tag ? - HTML Marquee Tag - Marquee element - In HTML it is used to create scrolling text or image in a webpage.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is a marquee tag ? - HTML Marquee Tag - Marquee element\" \/>\n<meta property=\"og:description\" content=\"What is a marquee tag ? - HTML Marquee Tag - Marquee element - In HTML it is used to create scrolling text or image in a webpage.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-27T05:40:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif\" \/>\n<meta name=\"author\" content=\"webmaster\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webmaster\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/\"},\"author\":{\"name\":\"webmaster\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/f785ba3ecc599133e65ab6138042a3e4\"},\"headline\":\"What is a marquee tag ?\",\"datePublished\":\"2022-10-27T05:40:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/\"},\"wordCount\":257,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/marquee-tag-html.gif\",\"keywords\":[\"html marquee replacement\",\"html marquee tag\",\"html marquees\",\"html tag\",\"marquee element\",\"marquee html\",\"marquee tag attributes\",\"marquee tag example\",\"marquee tag in css\",\"the marquee tag in html\"],\"articleSection\":[\"HTML\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/\",\"name\":\"What is a marquee tag ? - HTML Marquee Tag - Marquee element\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/marquee-tag-html.gif\",\"datePublished\":\"2022-10-27T05:40:15+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/f785ba3ecc599133e65ab6138042a3e4\"},\"description\":\"What is a marquee tag ? - HTML Marquee Tag - Marquee element - In HTML it is used to create scrolling text or image in a webpage.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/html\\\/what-is-a-marquee-tag\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/marquee-tag-html.gif\",\"contentUrl\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/marquee-tag-html.gif\",\"width\":1342,\"height\":576},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/f785ba3ecc599133e65ab6138042a3e4\",\"name\":\"webmaster\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g\",\"caption\":\"webmaster\"},\"sameAs\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\"],\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/author\\\/webmaster\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is a marquee tag ? - HTML Marquee Tag - Marquee element","description":"What is a marquee tag ? - HTML Marquee Tag - Marquee element - In HTML it is used to create scrolling text or image in a webpage.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/","og_locale":"en_US","og_type":"article","og_title":"What is a marquee tag ? - HTML Marquee Tag - Marquee element","og_description":"What is a marquee tag ? - HTML Marquee Tag - Marquee element - In HTML it is used to create scrolling text or image in a webpage.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/","og_site_name":"Wikitechy","article_published_time":"2022-10-27T05:40:15+00:00","og_image":[{"url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif","type":"","width":"","height":""}],"author":"webmaster","twitter_card":"summary_large_image","twitter_misc":{"Written by":"webmaster","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/#article","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/"},"author":{"name":"webmaster","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"headline":"What is a marquee tag ?","datePublished":"2022-10-27T05:40:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/"},"wordCount":257,"commentCount":0,"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif","keywords":["html marquee replacement","html marquee tag","html marquees","html tag","marquee element","marquee html","marquee tag attributes","marquee tag example","marquee tag in css","the marquee tag in html"],"articleSection":["HTML"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/","name":"What is a marquee tag ? - HTML Marquee Tag - Marquee element","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif","datePublished":"2022-10-27T05:40:15+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4"},"description":"What is a marquee tag ? - HTML Marquee Tag - Marquee element - In HTML it is used to create scrolling text or image in a webpage.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/html\/what-is-a-marquee-tag\/#primaryimage","url":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif","contentUrl":"https:\/\/www.wikitechy.com\/interview-questions\/wp-content\/uploads\/2022\/10\/marquee-tag-html.gif","width":1342,"height":576},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/f785ba3ecc599133e65ab6138042a3e4","name":"webmaster","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/155b77fd8cdda3d0913fcb7e7ee63543b0c345d2d8f6dcebda5b0583ab61f967?s=96&d=mm&r=g","caption":"webmaster"},"sameAs":["https:\/\/www.wikitechy.com\/interview-questions"],"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/webmaster\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/5067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=5067"}],"version-history":[{"count":1,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/5067\/revisions"}],"predecessor-version":[{"id":5069,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/5067\/revisions\/5069"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=5067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=5067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=5067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}