Hello, World!
This is my first HTML page.
``` Here's what each part does: | Tag | Purpose | |---|---| | `` | Tells the browser this is an HTML5 document | | `` | The root element wrapping all content | | `` | Contains metadata — title, character set, viewport settings | | `` | A top-level heading | | `
` | A paragraph of text | ### 3. Save the File with the Right Extension Go to *File > Save As*. In the filename field, type something like `index.html` — make sure to include the `.html` extension. Set the file type to **All Files** (not `.txt`), otherwise the editor may append `.txt` and break the file. Save it somewhere easy to find, like your Desktop or a dedicated project folder. ### 4. Open the File in a Browser Navigate to where you saved the file and double-click it. Your browser will open it as a local webpage. You should see your heading and paragraph rendered on the page. 🎉 ## Understanding the Variables That Affect Your Workflow Once you've got the basics down, the *right* way to work with HTML files depends heavily on your context. **Text editor choice** matters more as your files grow. Basic editors like Notepad have no syntax highlighting or error detection. Code editors like **VS Code** highlight tags, auto-close elements, and catch common mistakes in real time. If you're building more than a single page, a code editor makes a meaningful difference in speed and accuracy. **File naming and folder structure** becomes critical when you link multiple pages or add assets like images and stylesheets. A file named `index.html` at the root of a folder is treated as the default page by most web servers — that's a convention worth following from the start. **Character encoding** affects how special characters display. The ` ` tag in the `` ensures your page correctly handles letters, symbols, and characters from non-English languages. Omitting it can cause garbled text. **The `viewport` meta tag** controls how your page scales on mobile screens. Including it is standard practice, but its impact depends on whether your page includes responsive CSS. ## What You Can Add Next 🛠️ A plain HTML file can be extended in layers: - **CSS** (Cascading Style Sheets) controls visual appearance — colors, fonts, layout. You can add it inline, in the `` section, or as a separate `.css` file linked with a ` ` tag. - **JavaScript** adds interactivity — it can be written directly in a `