How People Access the Web?

1. Browsers People access websites using software called a web browser. Popular examples include Firefox, Internet Explorer, Safari, Chrome, and Opera.

2.Web Servers When you ask your browser for a web page, the request is sent across the Internet to a special computer known as a web server which hosts the website.

3.Screen readers Screen readers are programs that read out the contents of a computer screen to a user. They are commonly used by people with visual impairments.

4.Devices People are accessing websites on an increasing range of devices including desktop computers, laptops, tablets, and mobile phones. It is important to remember that various devices have different screen sizes and some have faster connections to the web than others.

HTML Describes the Structure of Pages

A Closer Look at Tags

Attributes Tell Us More About Elements

Attributes provide additional information about the contents of an element. They appear on the opening tag of the element and are made up of two parts: a name and a value,separated by an equals sign.

Body, Head & Title

<body> You met the <body> element in the first example we created. Everything inside this element is shown inside the main browser window.

<head> Before the <body> element you will often see a <head> element. This contains information about the page (rather than information that is shown within the main part of the browser window that is highlighted in blue on the opposite page). You will usually find a element inside the <head>element.

****

The contents of the element are either shown in the top of the browser, above where you usually type in the URL of the page you want to visit, or on the tab for that page (if your browser uses tabs to allow you to view multiple pages at the same time).

DOCTYPES tell browsers which version of HTML you are using. X You can add comments to your code between the markers. X The id and class attributes allow you to identify particular elements. X The <div> and elements allow you to group block-level and inline elements together. X cut windows into your web pages through which other pages can be displayed. X The tag allows you to supply all kinds of information about your web page. X Escape characters are used to include special characters in your pages such as <, >, and ©.

Traditional HTML Layouts

For a long time, web page authors used <div> elements to group together related elements on the page (such as the elements that form a header, an article, footer or sidebar). Authors used class or id attributes to indicate the role of the <div> element in the structure of the page.

Headers & Footers

The <header> and <footer> elements can be used for:

within the page #### Navigation #####