Full width home advertisement

Welcome Home


Post Page Advertisement [Top]

In commenting Cascading Style Sheet (CSS) in your HTML, it is suggested to put that style sheet code inside appropriate HTML comments so that old browsers can work with it perfectly.

Example

<!DOCTYPE html>

<html>

<head>

<title>Scholars Globe Example</title>

<style>

<!--

.test {

border:0px solid red;

}

//-->

</style>

</head>

<body>

<div class="test">Hello World!</div>

</body>

</html>

Result will be:

Hello World!

No comments:

Post a Comment

Bottom Ad [Post Page]