HTML and CSS Reference
In-Depth Information
In (X)HTML5, the embed tag can be used instead of object .
Create an embed element. Since the parameters can be provided as attributes of embed , the
self-closing tag can be applied in XHTML5 as follows:
<embed />
Evidently, the shorthand notation should be omitted in HTML5.
Add the path or URI of the file. It can be done by using the src attribute instead of data
applied on object elements.
<embed src="flash/header.swf" />
Add dimension and optional parameters.
<embed src="flash/header.swf" width="550" height="400" wmode="transparent" />
RSS News Feeds
Creating RSS news feeds generally consists of the following steps:
Create the XML declaration. Since RSS 2.0 news feeds should be valid XML documents,
the first line is the XML declaration:
<?xml version="1.0" encoding="utf-8"?>
The character encoding is optional but recommended.
Create the RSS channel. The contents of the RSS channel should be written within the rss
and channel tags as follows:
<rss version="2.0">
If additional namespaces are required, they should be added to the rss element. Interoperability can be
maximized by providing escaped HTML markup, the creator with Dublin Core metadata, the update period and
frequency defined by the syndication namespace, and the self-link from the Atom vocabulary. The following
namespace declarations should be added:
<rss version="2.0"
xmlns:content=" "
xmlns:dc=" "
xmlns:sy=" "
xmlns:atom=" "
Search WWH ::

Custom Search