Welcome Guest! (App Version 3.1)

websitnero logo name

My First Program in HTML

Overview

  • To write HTML code you need a code editor like Sublime or VSCode.
  • You need to save the file with .html extension.
  • Always open HTML documents with a web browser like Chrome or Firefox.

Text Editors for HTML

Any text editor can be used to make HTML pages. Even a simple text-editor, such as Notepad can be used for this purpose. However, if you are looking for an advanced option (with more features), take any of the following options:

  • Atom
  • Sublime
  • VS Code

Writing your first program in HTML

Writing an HTML program is not difficult. It is very simple and infact much easier than writing CSS or JS. Just use a text-editor like Notepad and copy the code given below to it. Then save the file as index.html and open it in a web browser.

<html>
<head></head>
<body> 
  <p>This is my first program.</p>
</body>
</html>

Output:

This is my first program.

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.