teach-ict.com logo

THE education site for computer science and ICT

2. HTML

All web pages are created by making use of a text language called 'Hypertext Markup Language' or HTML.

The HTML standard is managed by the World Wide Web Consortium at www.w3.org who release new versions once the details are agreed. HTML 5 is the latest standard.

A simple text editor such as Notepad is enough to allow you to create a basic web page.

HTML is made up of 'tags' that define page sections along with formatting information such as paragraphs, headers, tables and so on.

For example a very basic web page is encoded below


<!DOCTYPE html>
<html>
<head>
     <title> A basic web page </title>
</head>

<body>

     <h1> This is a web page </h1>
     <p> And this is a bit of text </p>

</body>

</html>

The problem with HTML is that each version and make of browser only support some of the standard.

So web designers are often prevented from using the very latest tags because they know that their website visitors are using an older browser version that does not support it. For example the <canvas> tag in HTML 5 is not supported by IE 8, nor by Firefox earlier than v31 nor Safari earlier than 5.1

This is why web coding changes so slowly - it takes years for older browsers to become obsolete and so designer have to deal with 'browser compatibility' all the time.

 

Challenge see if you can find out one extra fact on this topic that we haven't already told you

Click on this link: HTML coding