Friday, February 19, 2010

What is tag

In HTML, a tag tells the browser what to do. When you write an HTML page, you enter tags for many reasons -- to change the appearance of text, to show a graphic, or to make a link to another page.

Differences between XML and HTML

Since XML and HTML are derived from SGML they are similar, but have the following differences:
1. XML is case-sensitive
2. XML must have quotes (single or double) around attributes
3. Most interpreters of HTML are very forgiving about missing end tags - XML parses are not.
4. Comments start with <-- and end with -->. Inside a comment, "--" may not appear. Although this is fine in html, it confuses xml parsers.

CSS SYNTAX

A CSS rule has two main parts: a selector, and one or more declarations:
CSS declarations always ends with a semicolon, and declaration groups are surrounded by curly Brackets
EX: p {color:red;text-align:center;}

What is meant by Doctype

A "doctype" or to give its full name "Document Type Declaration" (DTD) should be the first line of your HTML document, right before the opening <html> tag. No white space no comments no nothing else should appear before it.

Images extentions description

JPEG :(Joint Photographic Experts Group)
GIF :(Graphics Interchange Format)
PNG : (Portable Network Graphics format)

What is the Difference between HTML and DHTML

HTML: it is the static part of the document and it is just used to display the contents statically is called as the html

DHTML: It is the dynamic part of the html where the mater is dynamically displayed so it is called as the dhtml

html & dhtml are both the markup languages both are used to develop a web pages

Differences Between XHTML And HTML

XHTML:
• XHTML elements must be properly nested (<b><i>This text is bold and italic</b></i>)
• XHTML elements must always be closed
• XHTML elements must be in lowercase
• XHTML documents must have one root element
• Ex: <html>
<head> ... </head>
<body> ... </body>
</html>

Flash Transparent (wmode="transparent")

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="650" height="490">

<param name="movie" value="hardrock_param.swf">

<param name="wmode" value="transparent">

<!--[if !IE]>-->

<object type="application/x-shockwave-flash" data="MyHRL_files/hardrock_param.swf" wmode="transparent" width="650" height="490">

<!--<![endif]-->

<a href="http://www.myhrl.com/sponsors.html">Sponsors</a>

<a href="http://www.myhrl.com/facebook.html">Facebook</a>

<a href="http://www.myhrl.com/youtube.html">Youtube</a>

<a href="http://www.myhrl.com/twitter.html">Twitter</a>

<a href="http://www.myhrl.com/myspace.html">Myspace</a>

Media


<a href="http://www.myhrl.com/fan_club.html">Fan Club</a>

<a href="http://www.myhrl.com/search_engine.html">Search Engine</a>

Internet Radio


<a href="http://www.myhrl.com/sms.html">SMS</a>

<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>

Embed code for DD menu overlaping flash file.

<object height="225" width="689" wmode="opaque">
      <param value="hrl_flash_sample.swf" name="">
      <embed height="225" width="689" wmode="opaque" src="hrl_flash_sample.swf">

</object>