INTRODUCTION


What is the World Wide Web?

The world wide web is a collection of web pages that resides on the internet (a global network of computers) and that can be viewed on any internet-connected device using a web browser such as Chrome, Edge, Firefox, Safari. Every web page / website has a unique web address such as http://www.dkit.ie

What is HTML and how does it work?

HTML (Hyper Text Markup Language) is a markup language for specifying/describing the different elements of a web page. HTML makes use of tags, attributes, and properties to describe these elements (headings, paragraphs, images, tables etc.) so that they can be interpreted and displayed correctly by a web browser. Most HTML tags have 2 parts to them: an opening tag and a closing tag. For example, the HTML tag for a paragraph <p> would be used as follows to display the words 'Hello World!': <p>Hello World!</p>

What is CSS and what is the difference between CSS and HTML?

CSS stands for Cascading Style Sheets. Whereas HTML is concerned with specifying the content or structure of a web page, CSS is concerned with the appearance (or style) of this content i.e. how it will be displayed.

Basic structure of a web page

<!DOCTYPE html>

<html>

<head>

</head>

<body>

All content that you want the viewer to see should be inserted here (i.e. between the 'body' tags).

</body>

</html>

A very simple web page

The following web page displays 'Hello World!' on the screen.

<!DOCTYPE html>

<html>

<head>
</head>

<body>

<p>Hello World!</p>

</body>

</html>

How to create a web page

In order to create a web page you will first need to learn a little about HTML and how it works. You will then need to use a text editor such as Notepad++, Textedit, Atom or Visual Studio Code to create your HTML code (i.e. your web page). Save your completed page with a .htm/.html file extension and make it available online so that it can be viewed by anyone with a web browser.