Recents in Beach

Learn HTML || Chapter 2

 




HTML Editor


A simple text editor is all you need to learn HTML.


Learn HTML Using Notepad or TextEdit

Web pages can be created and modified by using professional HTML editors.

However, for learning HTML we recommend VS code.

Follow the steps below to create your first web page with VS code.

1. Open VS code

Open the Start Screen (the window symbol at the bottom left on your screen). Type VS code.

2: Write Some HTML

Write or copy the following HTML code into VS code:


<
!DOCTYPE html>

<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>Use for Heading</h1>
<p>Use for Paragraph</p>

</body>
</html>

3: Save the HTML Page

To save your file as an HTML file yo have to go to manu bar, then select File > Save as
You will see a pop up. In this pop up select the place on your computer where you want to save your document.
In below write the name in the field of File name.
And select the type in the Field of Save as type. Select file type HTML.
Then save your file by clicking save button.

4: View the HTML Page in Your Browser

For this goto the place where you saved your file.
Double click on the file and it will open in your browser.

Next Chapter :-

In the next chapter we will learn about HTML elements.

Post a Comment

0 Comments