How to define an alternate content for users that do not support client-side scripts in HTML

Introduction

How to define an alternate content for users that do not support client-side scripts in HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>www.techstudy.org</title>
</head>
<body>
<script>
document.write("TechStudy - Html Excercise")
</script>
<noscript>Sorry, your browser does not support JavaScript!</noscript>
</body>

Result

How to define an alternate content for users that do not support client-side scripts in HTML
How to define an alternate content for users that do not support client-side scripts in HTML

Leave a Comment