Full width home advertisement

How To

Science

Post Page Advertisement [Top]


All Script code that need to be printed in HTML code (whether Java Script or VB Script code etc.) must be put inside appropriate HTML comments so that old browsers can print or display it accurately.

Example

<!DOCTYPE html>

<html>

<head>

<title>Commenting Script Code</title>

<script>

<!--

document.write("Scholars Globe!")

//-->

</script>

</head>

<body>

<p> Scholars, Globe!</p>

</body>

</html>

See Result:

Scholars Globe!

Scholars, Globe!

No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib