HTML <noscript> Tag
Description
The <noscript>
container displays its contents if the browser does not support working with scripts or their support is disabled by the user. In other cases, the browser ignores this element and everything that is located inside it.
Properties
- Permitted Parents
- Any element that accepts phrasing content, if there are no ancestor
<noscript>
element, or in a<head>
element (but only for an HTML document), here again if there are no ancestor<noscript>
element - Content
- Block, inline, and text when it isn't a descendant of the
<head>
element; Otherwise<link>
,<style>
, and<meta>
elements. - Start/End Tags
- Start tag: required, End tag: required
Example
<script type="text/javascript">
document.write("Hello World!")
</script>
<noscript>Your browser does not support JavaScript!</noscript>
Attributes
None
Global Attributes
The <object>
tag also supports the Global Attributes in HTML5
Event Attributes
The <object>
tag also supports the Event Attributes in HTML5
Browser Support
Desktop | |||||
Yes | Yes | Yes | 1 | Yes | Yes |
Tablets / Mobile | |||||
![]() |
|||||
Yes | Yes | 4 | Yes | Yes | Yes |
Last updated by CSSPortal on: 6th December 2019
HTML Tags
- a
- abbr
- address
- area
- article
- aside
- audio
- b
- base
- bdi
- bdo
- blockquote
- body
- br
- button
- canvas
- caption
- cite
- code
- col
- colgroup
- comment
- datalist
- dd
- del
- details
- dfn
- dialog
- div
- dl
- doctype
- dt
- em
- embed
- fieldset
- figcaption
- figure
- footer
- form
- h1
- h2
- h3
- h4
- h5
- h6
- head
- header
- hr
- html
- i
- iframe
- img
- input
- ins
- kbd
- keygen
- label
- legend
- li
- link
- map
- mark
- menu
- meta
- meter
- nav
- noscript
- object
- ol
- optgroup
- option
- output
- p
- param
- picture
- pre
- progress
- q
- rp
- rt
- ruby
- s
- samp
- script
- section
- select
- small
- source
- span
- strong
- style
- sub
- summary
- sup
- table
- tbody
- td
- textarea
- tfoot
- th
- thead
- time
- title
- tr
- track
- u
- ul
- var
- video
- wbr