Write HTML Using Notepad or TextEdit

Web pages can be created and modified by using HTML editors. However, for learning HTML we recommend a simple text editor like Notepad or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Follow the four steps below to create your first web page with Notepad or TextEdit.

Step 1: Open Notepad on PC

In Window 8 or 10
Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.

In Window 7 

Open Start > Programs > Accessories > Notepad


Open Notepad on MAC

Open Finder > Applications > TextEdit
Also change some preferences to get the application to save files correctly. In Preferences > Format > choose "Plain Text"
Then under "Open and Save", check the box that says "Ignore rich text commands in HTML files".
Then open a new document to place the code.

Step 2: Write Some Code of HTML 


Step 3: Save HTML page 

save Your file in your computer as HTML
click on the file>save as or pres keyboard button ctrl+s to save your file. type file name with extension .html or .htm whatever you want both are correct.

Step 4: View HTML page in your browser 

Open the saved HTML file in your favorite browser  after open your file the result look as following.

if you have any question about this you can comment blow.

0 comments:

Post a Comment

Thanks

 
Blogger Templates1 school © 2013. All Rights Reserved. Powered by Blogger
Top