The main problem with HTML uppercase is that it can be difficult to read.
<!DOCTYPE html> <html> <body> <h2>HTML uppercase</h2> <p id="demo"></p> <script> var x = document.getElementById("demo"); // Find the element with id="demo" x.innerHTML = x.innerHTML.toUpperCase(); // Convert the content to uppercase </script> </body>