0% found this document useful (0 votes)
10 views1 page

WEBSIE

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

WEBSIE

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

### Let's Start Coding!

To start your web development journey, you'll need a code editor. A popular choice
is **Visual Studio Code**. You can download it for free from the official website.

**Your First HTML Document:**

1. Open Visual Studio Code.


2. Create a new file and save it as `index.html`.
3. Add the following basic HTML structure:

```html
<!DOCTYPE html>
<html>
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello, World!</h1>
</body>
</html>
```

4. Save the file.


5. Open the `index.html` file in a web browser to see the result.

**Let's break down the code:**

* **<!DOCTYPE html>:** This declaration specifies the document type.


* **<html></html>:** The root element of an HTML page.
* **<head></head>:** Contains metadata about the page, such as the title.
* **<title></title>:** Sets the title of the page, displayed in the browser's tab.
* **<body></body>:** Contains the visible content of the page.
* **<h1></h1>:** Defines a level-one heading.

**In the next lesson, we'll dive deeper into HTML and learn how to create more
complex web pages.**

**Do you have any questions about this lesson?**

You might also like