Welcome to Bucaro TecHelp!

Bucaro TecHelp
HTTPS Encryption not required because no account numbers or
personal information is ever requested or accepted by this site

About Bucaro TecHelp About BTH User Agreement User Agreement Privacy Policy Privacy Site Map Site Map Contact Bucaro TecHelp Contact RSS News Feeds News Feeds

HTML noscript Tag

The HTML <noscript> tag is used to define alternate content for users who have a browser that doesn't support script or that have disabled scripts in their browser. Today, the web is highly dependent upon scripts and any user whose browser does not support scripting is not going to have a useful browsing experience.

So the main purpose of the noscript tag today is to handle users that have disabled scripts in their browser. Since the main motive for a user to disable scripts in their browser is to block advertising or assist in other copyright violations, the noscript tag can be used to redirect such users to a page that explains why they are being booted from your website. An example of use of the noscript tag is shown below:

<noscript><meta http-equiv="refresh" content="2000; url=http://bucarotechelp.com/search/unblock.asp" /></noscript>

Whether the <noscript> tag can be used in the or sections of a webpage depends upon the page's !DOCTYPE declaration. With any !DOCTYPE declaration previous to html5, the <noscript> tag can be used only in the <body> section. With the html5 !DOCTYPE declaration <!doctype html>, the <noscript> tag can be used in either the <head> or <body> sections of a webpage. When used inside the <head> section, <noscript> can contain only <link>, <style>, and <meta> elements.

If a browser doesn't support script or has scripts disabled, the script code will not be executed but will be visible to the user. One common practice is to use the comment tag to hide scripts from browsers without support for scripts. This is shown below:

function showMessage()
   alert("Hello World!")

However any user with or without support for scripts can view the page's script code by clicking on the browsers View Source button.

More HTML Code:
• HTML Blockquote Basics
• Form Input Labels
• HTML abbr and acronym Tag
• HTML Bulleted or Unordered List
• Providing Alternate and Title Text for an Image
• HTML List Basics
• HTML SPAN Basics
• The Heading Tags
• Web Color Names Table
• Changing the Size of an Image on Your Webpage

Follow Stephen Bucaro Follow @Stephen Bucaro

Fire HD
[Site User Agreement] [Privacy Policy] [Site map] [Search This Site] [Contact Form]
Copyright©2001-2021 Bucaro TecHelp 13771 N Fountain Hills Blvd Suite 114-248 Fountain Hills, AZ 85268