<html>
<body>
<h1>JavaScript String Methods</h1>
<h2>The mall() Method</h2>
<p id="demo1"></p>
<p>The small() method is deprecated in JavaScript.</p>
<p>Use the small tag instead:</p>
<p id="demo2"></p>
<script>
let text = "Hello World!";
let result = text.small();
document.getElementById("demo1").innerHTML = result;
text = "<small>Hello World!</small>"
document.getElementById("demo2").innerHTML = text;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_str_small by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 18:16:43 GMT -->
</html>