html noscript tag
Translation results:
英[skrɪpt] 美[skrɪpt]
n. Script, handwriting; written typeface; script, broadcast script or movie script
vt. Written for a movie (or drama, etc.) Script; make up
Third person singular: scripts Plural: scripts Present participle: scripting Past tense: scripted Past participle: scripted
html noscript tagsyntax
Function: is used to define alternative content (text) when the script is not executed.
Description: This tag can be used by browsers that recognize the <script> tag but cannot support the script in it.
Note: If the browser supports scripts, it will not display the text in the noscript element. Browsers that do not recognize the <script> tag will display the content of the tag on the page. To prevent browsers from doing this, you should hide the script in comment tags. Older browsers (that don't recognize <script> tags) ignore comments and thus don't write the content of the tag to the page, while newer browsers know how to execute these scripts even if they are surrounded by comment tags. !
html noscript tagexample
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script type="text/javascript"> <!-- document.write("Hello World!") //--> </script> <noscript>Your browser does not support JavaScript!</noscript> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance