- Explain the difference between plain text and rich text
- Use Notepad confidently: typing, saving, word wrap, find, replace and date stamps
- Use WordPad where it is installed, or a free alternative where it is not
- Choose the right file format (.txt, .rtf, .docx) and the right text encoding
- Fix the most common saving mistakes, such as a file accidentally named .html.txt
Time needed: about 3 hours (1 hr theory, 1 hr 15 min practical, 45 min questions and revision)
Before moving to Microsoft Word, you will meet two small programs that come with Windows: Notepad and WordPad. They are called text editors or simple word processors. Learning them first helps you understand a very important idea: what is stored inside a document file, and what is not. That idea will explain, later, why a Word file is bigger than a Notepad file and why formatting disappears when you copy it into a message.
THEORY
Read it, understand it, remember it1What is a text editor?
Plain text and rich text
| Plain text | Rich text | |
|---|---|---|
| What is stored | Only letters, numbers, punctuation and spaces | Characters plus formatting information (bold, size, colour, alignment, pictures) |
| Typical extensions | .txt, .csv, .html, .py (code files) | .rtf, .docx, .odt |
| Program | Notepad | WordPad, Word, LibreOffice Writer |
| File size | Very small | Larger |
| Opens everywhere | Yes, on any device | Mostly, but layout may change |
2Notepad
Open Notepad: click Start, type notepad and press Enter.
Where it is useful
- Quick notes, shopping lists and phone numbers.
- Removing the formatting from copied text. Paste into Notepad, then copy it again. All formatting is gone.
- Writing programming code and web pages (HTML) because no hidden formatting disturbs the code.
- Opening log files and configuration files.
Important Notepad features
| Feature | How to use it |
|---|---|
| New document or tab | Ctrl + N. Newer Notepad on Windows 11 opens tabs, like a browser. |
| Save and Save As | Ctrl + S saves; Ctrl + Shift + S saves a copy under a new name or in a new place |
| Word wrap | Makes long lines fit the window instead of running off to the right. In older Notepad it is under Format → Word Wrap; in newer Notepad look under the View menu or the Settings (gear) icon |
| Font and text size | Changes only how it looks on your screen; it is not saved in the file |
| Find | Ctrl + F |
| Replace | Ctrl + H changes a word everywhere in the file |
| Date and time stamp | F5 inserts the current date and time at the cursor. Useful for diaries and logs |
| Zoom | Ctrl + mouse wheel, or Ctrl + plus and minus |
| Spell check and autocorrect | Present in recent versions of Windows 11 Notepad; wrong words may show a red underline |
Notepad cannot make text bold, insert pictures or draw tables. This is not a weakness; it is the reason Notepad is so light and reliable.
3WordPad (if your computer has it)
WordPad sits between Notepad and Word. It has a ribbon (a strip of buttons) with a Home tab and a View tab. It can:
- Change font, size, colour and use bold, italic and underline.
- Align text left, centre, right, and make bullet lists.
- Insert a picture, the date and time, or a simple Paint drawing.
- Save as .rtf (Rich Text Format), .docx, .odt or .txt.
It has no spelling checker, tables, headers or page numbers, which Word has.
If you do not have WordPad
Use Microsoft Word if it is installed, or the free LibreOffice Writer (download from the official libreoffice.org site) or Word for the web (free with a Microsoft account). Where this lesson says "WordPad", read it as "any simple word processor".
4Saving files: formats and encodings
Save As and the "Save as type" box
The first time you save, the Save As window appears. It has three important choices: where to save (the folder at the left), File name and Save as type.
| Format | Extension | Use it when |
|---|---|---|
| Text Documents | .txt | Plain notes that anyone can open |
| Rich Text Format | .rtf | Simple formatted text that opens in almost every word processor |
| Word document | .docx | Full-featured documents in Word |
| OpenDocument Text | .odt | Documents made in LibreOffice |
| All files | any | You type the extension yourself, for example .html |
Encoding: how letters are stored
On Day 6 you learned that every character is stored as a number. Encoding is the agreed table of numbers. If two programs use different tables, the same file looks like garbage (for example "Ã " in place of a letter). Notepad lets you choose the encoding in the Save As window (or in the status bar at the bottom).
| Encoding | Notes |
|---|---|
| UTF-8 | Recommended. Holds English and also Hindi, Punjabi, Tamil, emoji and every other language. |
| ANSI | Old style; supports only a limited set of characters. Non-English text may turn into question marks. |
| UTF-16 | Used mainly by some Windows programs; files are bigger. |
5Which file format and program should I choose?
Do I need bold, colours, pictures or tables?
|-- No --> Is it for code, web page or very simple notes?
| |-- Yes --> Notepad, save as .txt (or .html / .py)
| |-- No --> Word processor is also fine
|-- Yes --> Do I need it to open in many programs?
|-- Yes --> .rtf (simple) or .pdf (final, not editable)
|-- No --> .docx in Word6Common mistakes
- Saving as "hello.html" but getting "hello.html.txt". This happens when "Save as type" says Text Documents. Choose All files in the box before saving, and keep file extensions visible.
- Forgetting to save. An asterisk (*) or a dot on the tab or in the title warns that changes are not saved. Press Ctrl + S often.
- Looking for formatting in .txt files. Bold or colour cannot be stored in a plain text file. If you need it, use RTF or DOCX.
- Saving with the wrong encoding and losing non-English characters.
- Saving in a place you cannot find later. Note the folder shown in the Save As window.
PRACTICAL
Hands-on work on a real computerTask 1: Open both programs
- Click Start, type
notepad, press Enter. - Click Start, type
wordpad. If WordPad appears, open it. If it does not, you have a version of Windows without it. Open Word, LibreOffice Writer or Word for the web instead. - Take a note of which programs you have.
Task 2: Make a diary with Notepad
- In Notepad press F5 to insert the date and time.
- Write three sentences about what you did today. Press Enter after each.
- Turn Word Wrap off, then on. Notice what happens to a long line.
- Press Ctrl + S. Go to
Documents\Computer Course, name itdiary.txt. Check that Encoding shows UTF-8, then click Save.
Expected result: diary.txt appears in the folder with a Notepad icon.
Task 3: Find and replace
- Add the line "I am learning computers. Computers are useful." to the diary.
- Press Ctrl + H. In "Find what" type
Computers, in "Replace with" typeLaptops. Click Replace All. - Press Ctrl + Z to undo the change. Save again.
Task 4: Test encoding
- Make a new Notepad document. Copy this word and paste it:
नमस्ते(Hindi for "hello") or type your own name in any non-English language, if your keyboard supports it. - Choose File → Save As. Save it once with UTF-8 as
hello_utf8.txt. - Close it and reopen it. Is the text correct? Write down what you see.
Task 5: Rich text in WordPad (or Word/LibreOffice)
- Type: "My Computer Course Notes". Select it and make it bold, size 20 and blue. Centre it.
- Type three lines below it and turn them into a bullet list.
- Save as
notes.rtf. Then use Save As to save another copy asnotes.docx(or .odt in LibreOffice). - Open File Explorer, switch to Details view and compare the sizes of
diary.txt,notes.rtfandnotes.docx. Write your observation.
Expected result: the plain text file is the smallest, because it stores no formatting.
Task 6: The .html.txt mistake
- In Notepad type
<h1>Hello</h1>. - Save As: change Save as type to All files and name it
hello.html. - Double-click the file. It opens in your browser and shows "Hello" in large letters.
- Challenge: save once more with the type left as Text Documents and name it
hello2.html. Look at the file name in File Explorer with extensions visible. What do you see? (Answer:hello2.html.txt.)
Task 7: Clean pasted text
Copy a formatted paragraph from a web page. Paste it into Notepad. Copy it again from Notepad and paste it into WordPad or Word. Notice that it has plain formatting.
QUESTIONS
Check what you have learnedMultiple choice (click an answer)
True or false
Short and long questions (write in your notebook)
- Differentiate between a text editor and a word processor.
- Differentiate between plain text and rich text with two examples of each.
- List any five Notepad features with their shortcuts.
- What is encoding? Why is UTF-8 recommended?
- Why might the same text be 1 KB as .txt and 12 KB as .docx?
- Scenario: you want a web page file called index.html. Explain how to save it correctly from Notepad.
Show model answers for the written questions
- A text editor stores only characters; a word processor stores text plus formatting, tables and pictures.
- Plain text stores only characters (.txt, .html); rich text stores formatting too (.rtf, .docx).
- New (Ctrl+N), Save (Ctrl+S), Find (Ctrl+F), Replace (Ctrl+H), date and time (F5), Zoom (Ctrl+wheel).
- Encoding is the table that assigns numbers to characters. UTF-8 supports every language and symbol, and is understood almost everywhere.
- A .docx file carries formatting data, styles and structure in addition to the text, so it is larger.
- Open Save As, choose Save as type: All files, type index.html, choose the UTF-8 encoding, and click Save.
REVISION AND SUMMARY
Bring the key ideas backKey points to remember
- Text editor = plain characters only. Word processor = text plus formatting.
- Notepad shortcuts: Ctrl+N, Ctrl+S, Ctrl+F, Ctrl+H, F5.
- Formats: .txt plain; .rtf simple rich; .docx Word; .odt LibreOffice.
- Use UTF-8 for text in many languages.
- WordPad is gone from Windows 11 24H2 and newer; use Word, LibreOffice Writer or Word for the web instead.
- Use "All files" when you type an extension yourself.
Self-check: can you now do these?
- ☐ Save a text file with the correct name, place and encoding.
- ☐ Use Find, Replace and Word Wrap.
- ☐ Explain why plain text files are small.
- ☐ Pick the right format for notes, code and formatted letters.
- ☐ Avoid the .html.txt mistake.
Summary
Finished today's lesson?
Tick it off to track your progress across the 90 days.
Tip: press Shift + ← or → to switch lessons.