Connect with us

HTML

HTML Javascript

The script tag is used to identify a client-side script, such as a JavaScript. Generally uses for JavaScript are image manipulation, form validation, and dynamic changes of content.

mm

Published

on

HTML <script> Tag

The <script> tag is used to identify a client-side script, such as a JavaScript. Generally uses for JavaScript are image manipulation, form validation, and dynamic changes of content.

Example:-

<script>
document.getElementById(“Testing”).innerHTML = “Hello India!”;
</script>

HTML <noscript> Tag

The <noscript> tag is used to give content for users that have disabled scripts in their browser. The <noscript> tag could contain all the tags that could find inside the <body> tag of a normal HTML page.

Example:-

<script>
document.getElementById(“Testing”).innerHTML = “Hello India!”;
</script>
<noscript>Sorry, your browser doesn’t maintain JavaScript!</noscript>

 

HTML content change by JavaScript

document.getElementById(“Testing”).innerHTML = “Hello India!”;

HTML styles change by JavaScript

document.getElementById(“testing”).style.fontSize = “25px”;

HTML attributes change by JavaScript

document.getElementById(“image”).src = “picture.gif”;

Also Read :   HTML Images

Hi, Thank you for reading my article. I am Victor, a professional blogger from Jaipur, India.I started webetutorial for blogging & sharing solution for developer questions, and now it’s empowering globally by helping them to make money.I am writing about starting & managing a blogs, WordPress, Magento, Social Media, SEO, Marketing, making money online, Investment, Finance, Gadgets, Fitness and more.

Continue Reading
Advertisement
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

7 + 5 =

HTML

HTML Character Sets

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

mm

Published

on

To display an HTML page properly, a web browser must know the character set to use.

ASCII was the first character set. It describes 127 different alphanumeric characters that can be used on the internet.

ASCII supported numbers (0-9), English letters (A-Z), and some special characters. UTF-8 (Unicode) covers almost all of the characters and symbols in the world.

ISO-8859-1 was the default character. It also supported 256 different character codes.
The HTML charset Attribute:-
This is specified in the <meta> tag:-

<meta charset=”UTF-8″>

Also Read :   Converting HTML to WordPress
Continue Reading

Trending