HTML: Lesson 2 -How to create an HTML file?



How to create an HTML file?
Step 1: Open Notepad (instruction for Windows 7 or earlier or you can use any text editor of your choice):
Click Start (bottom left on your screen). Click All Programs. Click Accessories. Click Notepad.


Step 2: Write the following text in notepad:
<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>
Step 3: Save the file on your computer.
Select File > Save as in the Notepad menu.

Name the file "index.html" or "index.htm" (you can name it whatever you want as long as it ends with an html or htm file extension).

0 comments:

TUTORIALS

  • HTML
  • CSS
  • Javascript
  • JQuery
  • PHP
  • MySQL

Labels