Latest Tutorials

HTML tutorial introduction

This tutorial will teach you how to program in HTML. HTML is not difficult to learn but yet it's one of three main mechanisms the World Wide Web relies on and it is a crucial part of we...

What is HTML?

HTML is the main programming language used for publishing World Wide Web sites. The name stands for HyperText Markup Language and it is based on SGML or Standa...

What is XHTML?

XHTML is same as HTML 4.01 except that it is designed to work with XML-based user agents (i.e. browsers). The name stands for eXtensible HyperText Markup Language.

How does it all work?

It is easy to write a basic web page. You don't need a server, or a website. The only thing you need is a text editor and a user agent to interpret the HTML code. A text editor...

HTML elements, attributes and comments

HTML syntax is made of four main and most common components: Element an element defines the page's structures element can empty or non-empty exa...

White space in HTML

White space in HTML gets ignored, unless it is a single character long. All additional white space fields, including line breaks, count as a single white space. To ensure your displayed tex...

Html element (<html>)

This is the main structural element in a HTML document. Html element must be included in a document. All other elements, except

Head element (<head>)

The head element contains information about the document. Such information includes document's title, meta data with keywords, copyright information and many other valuable information...

Body element (<body>)

The body element contains document's content. Content can be any type of information served to user agents (browsers); i.e. content can be text, images and even audio based material.

Grouping elements (<div>, <span>)

These two elements, in combination with style sheets, are used to define the main layo...