![how to add underline in word how to add underline in word](https://static.javatpoint.com/msword/images/how-to-insert-a-line-in-word4.png)
* Don’t forget ‘var’ instead of i in the for loop. Meanwhile, you can play with attributes like line spacing, line-height and box shadows. Click on Underline to have it on the form. Once the line is drawn on the page, press 'Enter Key.' You can see the Word automatically generate a bold line on the page. Step 3: Press and hold the Shift and dash ('-') keys. Step 2: Press the 'Enter key' to make a space between text and line. You must escape html here when building the strings (or use $.fn.text) Like in the previous step, click on Text Decorations, a small drop-down will appear which contains options like Underline, Overline and Line Through. How do you make a bold line in Word Step 1: Go to the Word document where you want to add a bold line. This is very dangerous when working with user input and can also destroy your layout if there is anything like HTML in your titles. * You’re using text() to retrieve the value but using html()/append() to put it back. Either build outside and call $(this).append() a few times, or build it inside and call $(this).html( stuff ) The latter is recommended. * the calls to append() don’t make sense inside html. But instead of correcting the words, I am wondering if there is a way to highlight or underline the misspelled words (like in Words). Why call $.fn.each, $.fn.empty, $.fn.html and then a dozen times $.fn.append ? Excel: highlight/underline misspelled words I know Excel has a spell checker that can autocorrect misspelled words. There’s some performance to be gained in the jQuery version as wel.
![how to add underline in word how to add underline in word](https://articlebin.michaelmilette.com/wp-content/uploads/2013/01/Word2003.jpg)
Although the raw JS version isn’t too bad either.