Here you will find a variety of videos on technology, Tutorials, News, Tip And Tricks, Reviews

Breaking

Post Top Ad

Your Ad Spot

Thursday, March 10, 2016

How to Creating and Saving HTML Documents

HTML documents are also called webpages. HTML is a markup language which is used to create webpages. HTML uses commands called tags. Text editors are used to compose HTML documents. HTML documents are viewed in web browsers.



Now, let us learn how to create a new HTML document or a webpage using a text editor such as Notepad.


To create a new HTML document


Step-1 Open Notepad and type the HTML code.

The Notepad window opens a new, blank document.Add the code to the blank document.





Creates a simple HTML document titled as Learning HTML, with " Hello, This is my first web page" as its content.


Step-2   Click the File menu -> Save  option. The Save As dialog box appears.








Step-3   Choose the folder in which you want it to save and then type the name of the file followed by a suffix .html  or .htm   ( for example homepage.html ).





Step-4 Click the Save button.

After creating an HTML document, let's learn to view the document.


Viewing an HTML Document


To view an HTML document, you have to open the document in a web browser. For this open the folder which is containing the HTML document that you want to view and double click document.




When you double-click the HTML document the document opens in the default Web browser which is associated with your computer.







Post Top Ad

Your Ad Spot

Pages