How to Write HTML Code in Notepad


Notepad is a simple text editor that comes free with Windows and lets you code simple documents to be used on a website. To code in Notepad, you need to know basic HTML tags. When uploaded to the Internet, the text will be ready for placement on a website page. Here's how to prepare HTML text in Notepad.

  • Open Notepad. You can find it by clicking the Start button at the bottom of the left-hand corner of your screen. From the box that pops up, click Programs. Another box will pop up. Select "Accessories," then click on Notepad.

  • Begin writing the text that you would like to appear on your website page. You will need to add the basic codes for HTML, in which the "tag" needs to be opened and closed.

  • Type

    to begin a paragraph. Next enter in the sentences you want in the paragraph. Close this HTML tag with a

    to end the paragraph. Continue this pattern for the remainder of the text.

  • Add bold and italic text where you would like it. Use the or tags for bold text. Use or tags for italics.

  • Save your file. Do not press CTRL+S because you'll end up with a text (txt) file, which is the type of file Notepad automatically creates. Instead, click on the File button and scroll down the dropdown menu and click on "Save As."

  • Select All Files when the Save As drop-down menu appears. Change the txt extension to html or htm. Now your text is ready for placement on the Web.

Related Searches

Promoted By Zergnet


You May Also Like

  • How to Write Computer Code

    Learning to write computer code will require the use of a program called Python, which has very easy language to learn. Discover...

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!