Building Your First Website A Quick and Easy HTML & CSS Tutorial
Building Your First Website A Quick and Easy HTML & CSS Tutorial
1. Open Notepad:
```html
<html lang="en"> <!-- Starts the HTML document and sets the language to English
-->
<title>Building Your First Website: A Quick and Easy HTML & CSS Tutorial</title>
<!-- Sets the title of the webpage, displayed on the browser tab -->
<p>I am writing simple HTML code for my students to help them understand the
basics.</p> <!-- Defines a paragraph and closes it -->
</body> <!-- Closes the body section -->
```
- Click on `File` in the top-left corner of the Notepad window, then select `Save As`.
- Name the file `index.html` and choose a location to save it. Click `Save`.
```css
body {
h1 {
p{
```
- Click on `File` in the top-left corner of Notepad, then select `Save As`.
- In the `Save as type` dropdown menu, select `All Files`.
- Name the file `styles.css` and save it in the same location as `index.html`. Click
`Save`.
- Navigate to the location where you saved your HTML and CSS files.
- Select `Open with` and choose your preferred web browser (e.g., Chrome, Firefox,
Edge).