HTML Tutorial

HTML Editor

Any text editor will work for writing HTML; complex software is not necessary! You can easily create and edit HTML code with Notepad, Sublime Text, or Visual Studio Code, whichever you prefer. Your webpage’s structure and content are shaped by the tags and attributes that make up HTML. Now take out your preferred text editor and get to work creating your website!

File Saving

Always use the “.html” extension when saving an HTML file, such as `index.html’. This identifies the file as an HTML document to both your computer and web browser.

 

Your browser can recognize that a file contains code to generate a webpage because of the `.html} extension. The browser might not be able to display the content correctly without it. Thus, you can make sure your file opens correctly in a browser and displays your webpage as intended by saving it with this extension.

Try It Yourself

Share with friends