Using Notepad or TextEdit you can write HTML
There are many professional HTML editor like as:- Adobe Dreamweaver
- Microsoft Expression Web
- CoffeeCup HTML Editor
You believe using a simple text editor is a good way to write HTML code.
Now follow the 4 steps below to create your first web page with Notepad.
Step-1: Open Notepad
To open Notepad in Windows 7 or earlier:Click Start (bottom left on your screen). → All Programs → Accessories.→ Notepad.
And to open Notepad in Windows 8 or later:
Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.
Step-2: Now write Some HTML code.
Write or copy then paste some HTML code into Notepad.Example
<!DOCTYPE html>
<html>
<body>
<h1>It’s my first Heading</h1>
<p> It’s my first paragraph.</p>
</body>
</html>
<html>
<body>
<h1>It’s my first Heading</h1>
<p> It’s my first paragraph.</p>
</body>
</html>
Step-3: Save this notepad in HTML format.
Save the file on your computer.Select File → Save as in the Notepad menu.
When saving an HTML file, use either the .htm or the .html file extension. There is no difference.
No comments:
Post a Comment