HTML Spell Check

HTMLWeb DevelopmentFront End Technology

The HTML Spell Check is used to identify grammar or spelling mistakes in HTML text fields. The property returns the color resolution of the visitor’s screen.

Syntax

Following is the syntax −

<tagname spellcheck=”true | false”>

Example

Let us see an example of HTML Spell Check −

<!DOCTYPE html>
<html>
<style>
   body {
      color: #000;
      height: 100vh;
      background-color: #FBAB7E;
      background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
      text-align: center;
   }
</style>
<body>
<h1>HTML Spell Check</h1>
<textarea rows="5" cols="20" spellcheck="true" placeholder="Enter your message here"></textarea>
</body>
</html>

Output

Now enter any message in the white textarea with some spelling or grammar mistake −

raja
Published on 24-Sep-2019 15:20:04
Advertisements