Understand file extensions
An extension is the suffix after a dot: .txt for text, .html for a web page, .css for styling. Renaming an extension does not automatically convert the content.
What is it?
An extension is the suffix after a dot: .txt for text, .html for a web page, .css for styling. Renaming an extension does not automatically convert the content.
Why it matters
Recognize the tools before allowing them to act on your files.
When to use it
Before opening a real project.
How to do it
- Read the explanation and identify the files or environment involved.
- Turn on file-extension display in your file manager. Find notes.txt and verify that its actual name does not end in .txt.txt.
- Compare the result with the verification criteria below. Record what worked and what remains unclear.
Worked example
Turn on file-extension display in your file manager. Find notes.txt and verify that its actual name does not end in .txt.txt.
Try it yourself
Repeat the exercise with your own wording or a second sample. Use the smallest change that demonstrates the idea.
Prompt builderVerify your result
You can identify the filename and extension separately.
Common mistakes
A page saved as index.html.txt opens as text. Save the intended filename in a text editor.
How to recover
Stop at the first unexpected result. Preserve your current work, re-check the named file or environment, and repeat only the failing step. Ask for an explanation if the recovery is unclear.
Official references
Product interfaces and access can change. Use the linked official guide for current installation and account requirements.
OpenAI · Quickstart ↗Source review: 2026-09-16