You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: courses/html/basic/setting-up-html-environment.md
+39-19Lines changed: 39 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,22 @@ title: Setting Up HTML Environment
4
4
sidebar_label: Setting Up HTML Environment
5
5
sidebar_position: 2
6
6
description: "Learn how to set up your HTML development environment and create your first HTML file."
7
-
tags: [html courses, web development in html courses, html basic, html environment, setting up html environment]
8
-
keywoards: [html courses, web development in html courses, html basic, html environment, setting up html environment]
7
+
tags:
8
+
[
9
+
html courses,
10
+
web development in html courses,
11
+
html basic,
12
+
html environment,
13
+
setting up html environment,
14
+
]
15
+
keywoards:
16
+
[
17
+
html courses,
18
+
web development in html courses,
19
+
html basic,
20
+
html environment,
21
+
setting up html environment,
22
+
]
9
23
author: [CodeHarborHub, Ajay Dhangar]
10
24
---
11
25
@@ -38,6 +52,12 @@ You can choose any text editor based on your preference and install it on your c
38
52
39
53
We recommend using **Visual Studio Code** as it is a popular text editor for web development and has many features that make it easy to write and edit HTML code.
40
54
55
+
**Visual Studio Code** is a free source code editor developed by Microsoft. It has built-in support for HTML, CSS, and JavaScript, as well as extensions that can enhance your web development experience. You can download Visual Studio Code from the official website: [https://code.visualstudio.com/](https://code.visualstudio.com/).
[](https://code.visualstudio.com/)
59
+
</BrowserWindow>
60
+
41
61
:::
42
62
43
63
### Step 2: Install a Web Browser
@@ -68,7 +88,7 @@ We recommend using **Google Chrome** as it is a popular web browser with good de
68
88
To set up your HTML environment with Visual Studio Code, follow these steps:
69
89
70
90
1. Install Visual Studio Code on your computer. You can download Visual Studio Code from the official website: [https://code.visualstudio.com/](https://code.visualstudio.com/).
71
-
2. Open Visual Studio Code.
91
+
2. Open Visual Studio Code.
72
92
3. Create a new file by clicking on `File` $\rightarrow$ `New File`.
73
93
4. Save the file with the `.html` extension, such as `index.html`.
74
94
5. Write your HTML code in the file.
@@ -88,27 +108,27 @@ To create your first HTML file, follow these steps:
88
108
2. Create a new file and save it with the `.html` extension, such as `index.html`.
89
109
3. Write the following HTML code in the file:
90
110
91
-
```html title="index.html"
92
-
<!DOCTYPE html>
93
-
<html>
94
-
<head>
95
-
<title>My First Web Page</title>
96
-
</head>
97
-
<body>
98
-
<h1>Hello, World!</h1>
99
-
<p>Welcome to my first web page.</p>
100
-
</body>
101
-
</html>
102
-
```
111
+
```html title="index.html"
112
+
<!DOCTYPE html>
113
+
<html>
114
+
<head>
115
+
<title>My First Web Page</title>
116
+
</head>
117
+
<body>
118
+
<h1>Hello, World!</h1>
119
+
<p>Welcome to my first web page.</p>
120
+
</body>
121
+
</html>
122
+
```
103
123
104
124
4. Save the file.
105
125
5. Open the HTML file in your web browser to view the web page.
106
126
6. You should see the following output in your web browser and try to use url `http://127.0.0.1:5500/index.html` to view the web page:
0 commit comments