script tag
head tag
span tag
TAG: noscript
<noscript> ... </noscript>
The
noscript
tag is used to display alternative content for browsers that do not recognize the
script
tag, or for those occasions where the user has purposely disabled
script
.
The separate closing tag is mandatory.
Attributes and Events
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<title>DevGuru XHTML noscript Tag Example</title>
</head>
<body>
The following message will only appear on broswers that
do not support scripting or have scripting turned off:
<
noscript
>
Script is disabled.
<
/noscript
>
</body>
</html>
Output:
The following message will only appear on broswers that
do not support scripting or have scripting turned off:
Script is disabled.
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information