DEV Community

loading...

Learn HTML Using Notepad (Pc) or TextEdit (Mac) #1

TARUN KUMAR UTTAM
๐Ÿ‘‹ ๐—›๐—ถ ๐—œ'๐—ฎ๐—บ ๐ณ๐š๐ฌ๐ญ๐ข๐ฑ๐ฑ ๐Ÿ“ธ ๐——๐—ผ๐—ฐ๐˜‚๐—บ๐—ฒ๐—ป๐˜๐—ถ๐—ป๐—ด ๐—บ๐˜†-๐—ท๐—ผ๐˜‚๐—ฟ๐—ป๐—ฒ๐˜† ๐Ÿ‘จโ€๐Ÿ’ป ๐—™๐—ฟ๐—ผ๐—ป๐˜๐—ฒ๐—ป๐—ฑ ๐—ช๐—ฒ๐—ฏ ๐——๐—ฒ๐˜ƒ๐—ฒ๐—น๐—ผ๐—ฝ๐—ฒ๐—ฟ ๐Ÿ“ฑ ๐‚๐จ๐๐ข๐ง๐  ๐„๐ง๐ญ๐ก๐ฎ๐ฌ๐ข๐š๐ฌ๐ญ
ใƒปUpdated on ใƒป1 min read

Step 1: Open Notepad (PC)
Windows 8 or later:

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

Windows 7 or earlier:

Open Start > Programs > Accessories > Notepad

Step 2: Write Some HTML

Write or copy the following HTML code into Notepad:

Alt Text

Step 3: Save the HTML Page

Save the file on your computer. Select File > Save as in the Notepad menu.

Name the file "index.html" and set the encoding to UTF-8 (which is the preferred encoding for HTML files).

Tip: You can use either .htm or .html as file extension. There is no difference, it is up to you.***

Step 4: View the HTML Page in Your Browser

Open the saved HTML file in your favorite browser (double click on the file, or right-click - and choose "Open with").

The result will look much like this:
Alt Text

Discussion (0)