Keepin' Up With The News - Setting Up Your Dynamic News Feed
(Page 3 of 4 )
Now that we've got the code for our news stream via email, how do we go about adding it to our site? Simple. You'll notice that the code is a mixture of cascading style sheets, JavaScript and HTML, meaning that we can pretty much place the code anywhere between the <body> and </body> tags of our web page. As an example, type the following HTML into notepad and save it as mynews.html (ignoring the line numbering of course).
<html>
<head>
<title> My News Feed </title>
</head>
<body bgcolor=”#ffffff”>
<h1>My News Feed</h1>
</body>
</html>Notice how I've intentionally left a line blank? This is where we will paste the code that will display our dynamic news feed. Simply place your cursor on line seven, copy the news feed code from the MoreOver email and paste it in. Save the file and preview it in your browser. You should get something that looks like this:
Next: Conclusion >>
More HTML Articles
More By Mitchell Harper