1) HTML is case-insensitive and, in fact, very forgiving. This means all of the following three examples would be considered the same by the browser:
● <html>
● <HTML>
● <HTml>
whereas XHTML is case-sensitive and requires all tags to be lowercase. Of the three previous examples, the browser would properly interpret only the first.
2) HTML doesn’t require quotation marks unless the value of an attribute contains a hash mark or a space, as in the following case:
<font face="Times New Roman">
XHTML does require all attribute values to be placed within straight quotation marks.
3) Comments or notes you need to add to your Web pages
<!-- Remember to like this(ksumitinfo.blogspot.com) blog if you like the info -->
4) CSS offers three types of style sheets:
● Inline : Styles are embedded right within the HTML code they affect.
<h2 style="font-family: verdana;color: #003366">
● Internal : Styles are placed within the header information of the Web page, and then
affect all corresponding tags on the page
<head>
<title>CSS Example</title>
<style type="text/css">
<!--
h2 {font-family: verdana; color: blue}
.red {font-family: verdana; color: red}
-->
</style>
</head>
● External : Styles are coded in a separate document, which is then referenced from within the header of the actual Web page
5) Nonbreaking space character entity ( )
6) Preformat :
The only time pressing the RETURN or ENTER key in your page creates line breaks in the browser view is when the pre tag is used. Short for preformat, the pre tag renders text in the browser exactly as you type it.
7) Horizontal Rules :
One way you can separate sections of your Web page is to use the hr tag. By default, this tag produces a thin, gray horizontal line called a horizontal rule.
8) Logical Styles :
<abbr> Indicates an abbreviation
<acronym> Indicates an acronym
<cite> Marks a reference to another source or a short quotation, italic
<dfn> Highlights a definition or defined term, italic
<em> Provides general emphasis, italic
<strong> Provides a stronger general emphasis than with <em>, bold
<var> Suggests a word or phrase that is variable and should be replaced with a specific value, italic
9) Physical Styles :
<b> bold
<big> increases the font size by 1 each time it is used,(maximum size is 7,default size is 3)
<i> italic
<tt> typewriter font
<small> decreases the font size by 1 each time its used,(minimum sizeis 1,default sizeis 3)
<strike> Strikethrough
<sub> subscript
<sup> superscript
<u> underline
● <html>
● <HTML>
● <HTml>
whereas XHTML is case-sensitive and requires all tags to be lowercase. Of the three previous examples, the browser would properly interpret only the first.
2) HTML doesn’t require quotation marks unless the value of an attribute contains a hash mark or a space, as in the following case:
<font face="Times New Roman">
XHTML does require all attribute values to be placed within straight quotation marks.
3) Comments or notes you need to add to your Web pages
<!-- Remember to like this(ksumitinfo.blogspot.com) blog if you like the info -->
4) CSS offers three types of style sheets:
● Inline : Styles are embedded right within the HTML code they affect.
<h2 style="font-family: verdana;color: #003366">
● Internal : Styles are placed within the header information of the Web page, and then
affect all corresponding tags on the page
<head>
<title>CSS Example</title>
<style type="text/css">
<!--
h2 {font-family: verdana; color: blue}
.red {font-family: verdana; color: red}
-->
</style>
</head>
● External : Styles are coded in a separate document, which is then referenced from within the header of the actual Web page
5) Nonbreaking space character entity ( )
6) Preformat :
The only time pressing the RETURN or ENTER key in your page creates line breaks in the browser view is when the pre tag is used. Short for preformat, the pre tag renders text in the browser exactly as you type it.
7) Horizontal Rules :
One way you can separate sections of your Web page is to use the hr tag. By default, this tag produces a thin, gray horizontal line called a horizontal rule.
8) Logical Styles :
<abbr> Indicates an abbreviation
<acronym> Indicates an acronym
<cite> Marks a reference to another source or a short quotation, italic
<dfn> Highlights a definition or defined term, italic
<em> Provides general emphasis, italic
<strong> Provides a stronger general emphasis than with <em>, bold
<var> Suggests a word or phrase that is variable and should be replaced with a specific value, italic
9) Physical Styles :
<b> bold
<big> increases the font size by 1 each time it is used,(maximum size is 7,default size is 3)
<i> italic
<tt> typewriter font
<small> decreases the font size by 1 each time its used,(minimum sizeis 1,default sizeis 3)
<strike> Strikethrough
<sub> subscript
<sup> superscript
<u> underline
No comments:
Post a Comment