HTML is the foundation to create web pages.

To use it no special type of softwares are needed.

For example, it can be written in notepad, but should be saved with .html extension.

Each html command is denoted as tag.

Features of tutorialcodeplay

  • We have lots of HTML tutorials with simple and understandable explanations.
  • We have an online html editor which can be used for practicing.
  • Our main objective is to give simple examples and detailed explanation about each tag and to make you understand it.

HTML Introduction

HTML means Hyper Text Markup Language. Current version of HTML is HTML 5 and first version is HTML 1.0. HTML is one of the easiest coding language to learn. When creating a web page there are some sections one must know, such as HTML, CSS, Javascript.

HTML Structure

HTML Syntax

CSS style

CSS is defined as Cascading Style Sheet.

  • After HTML, we should learn CSS.
  • CSS is used give styles for the web pages. Styles such as adding colors, animations, bordering styles etc.
  • CSS included in a web pages using three different types, we will see those in detail at css chapter.
  • CSS styles can be added depending on screen height, width and its orientation. So that we can add different styles for the same html element in different devices.

Example - Without CSS style

Try Yourself

The following output is created using HTML code without applying any CSS.


Example - With CSS style

Try Yourself

The following output is created using HTML and CSS style. We will deeply learn CSS in other chapters.


Javascript code

Javascript in used to make web pages more interactive with users, its used for operations such as basic client side validation, passing the values to the server, and more.


Try Yourself

  • In the above example, when the button is clicked an alert box appears. It is done using Javascript.
  • We will deeply learn Javascript in other chapters.