I have added my HTML code here. but after i save the source code is getting changed a below.
<!DOCTYPE html>
<html>
<head>
<title>This is a test</title>
<style>
div {
background-color: #1c87c9;
color: #fff;
padding: 5px;
}
p {
-moz-animation: marquee 10s linear infinite;
-webkit-animation: marquee 10s linear infinite;
animation: marquee 10s linear infinite;
}
@-moz-keyframes marquee {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
@-webkit-keyframes marquee {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
@keyframes marquee {
0% {
-moz-transform: translateX(100%);
-webkit-transform: translateX(100%);
transform: translateX(100%)
}
100% {
-moz-transform: translateX(-100%);
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
}
</style>
</head>
<body>
<div>
<p>This is the scroll text</p>
</div>
</body>
</html>
****************************************
this is how it become after save inside widget
<p> </p>
<div>
<p>This is a horizontally scrolling text without a marquee tag.</p>
</div>
add comment
1 Answer
There some solutions for it. Please have a look at https://www.w3docs.com/learn-html/html-marquee-tag.html
share
add comment
Your Answer
asked | |
viewed | 33 |
Related
- 1How to compress and extract files/folders using the tar command on Ubuntu
- 5What is "marquee" tag and how I can use it in HTML?
- 3What's the difference between using “let” and “var”?
- 11How to redirect to another web page using JavaScript?
- 12Is it possible to create an HTML button that acts like a link?
- 8Is it possible to Redirect a Web Page in HTML?
- 3Is it possible to create an HTML button that acts like a link to an item on the same page?
- 2How can I set an HTML text input to allow only numeric input?
- 1How to preload images using jQuery?
- 2how to check a number is prime or not. using js
- 1How to embed link-to inside html button tag ?