HTML

HTML

HyperText Markup Language, commonly abbreviated as HTML, is the standard markup language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone technology used to create web pages, as well as to create user interfaces for mobile and web applications. Web browsers can read HTML files and render them into visible or audible web pages. HTML describes the structure of a website semantically and, before the advent of Cascading Style Sheets (CSS), included cues for the presentation or appearance of the document (web page), making it a markup language, rather than a programming language.

HTML elements form the building blocks of HTML pages. HTML allows images and other objects to be embedded and it can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as <img /> and <input /> introduce content into the page directly. Others such as <p>...</p> surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page.

HTML can embed scripts written in languages such as JavaScript which affect the behavior of HTML web pages. HTML markup can also refer the browser to Cascading Style Sheets (CSS) to define the look and layout of text and other material. The World Wide Web Consortium (W3C), maintainer of both the HTML and the CSS standards, has encouraged the use of CSS over explicit presentational HTML since 1997.

HTML is a markup language used to describing the simplest form of webpages. It is the main markup language for webpages. HTML is an abbreviation and stand for HyperText Markup Language. When a webbrowser such as Internet Explorer, FireFox or Chrome displays a webpage, what it is actually doing is reading and interpreting a HTML document. This document could be as short as 10 lines or as long as several hundred, the browser does not care – all it does is read your document.

And this is the main purpose of the HTML – to make the content of the HTML-document accessible to the webbrowsers. Aside from making your content accessible to the webbrowser, HTML also add semantics to you content – this means that the webbrowsers and search engines knows what type of content you’ve put up on your webpage and hereby they know how to handle the content.

Basically, the purpose of HTML is to add meaning to you webpages (some believe that HTML is supposed to affect the look of you webpage, but that is mostly a question of religion and we will look into it later on) so that the browser can show it.

What is the difference between regular HTML and HTML5? We will look into this question throughout the tutorial, but one thing that is important to note is, that anything you might have learned about HTML is still valid when it comes to HTML5 – you don’t have to throw anything away.

HTML5 consists of a whole lot of new features and we will look into the individual features along the way. But actually, HTML5 is not the just the fifth version of HTML – HTML5 was originally created by a group of people who was not in charge of the official HTML standard. To understand the coverage of HTML5 is no easy job – the real problem is, that a lot of people use the term HTML5 when what they actually are referring to is ”HTML5 and all its related standards, such as CSS3”.

When using HTML5 you need to know that not all the new features are supported by all browsers –Different browsers support different features and therefore you will have to do some tricks to make some of the elements of HTML5 work correctly.