Monday, October 20, 2014

Using pre-written HTML scripts. An example.

Most of your ideal HTML scripts are already available on the Internet. For example at the scripts section of Quackit we can see, for instance the scripts to do with marquees, which are rolling banners on your page.

Let's take the first one below:



Find a simple HTML file to insert your new code into, so as to test it.


Copy the text into your code template:

<marquee behavior="slide" direction="left">Your slide-in text goes here</marquee>

to make the following  file.

<!DOCTYPE html>
<html>
<head>
<title>HTML Tutorial Example</title>
</head>
<body>
<p>Less than 5 minutes into this HTML tutorial and
I've already created my first homepage!</p>
<marquee behavior="slide" direction="left">Your slide-in text goes here</marquee>
</body>
</html>

Then test your code in a browser.