Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Summary - Unit 2 (WIT12)

Beoordeling
-
Verkocht
-
Pagina's
105
Geüpload op
30-09-2024
Geschreven in
2023/2024

course notes and links to resources for AS IT unit 2, html, css, javascript, web development

Instelling
Vak

Voorbeeld van de inhoud

UNIT TWO
https://drive.google.com/file/d/1B4QfGJ6LkWcE2h22r2zaD08c1fiYpOe9/view

Past papers | Past exam papers | Pearson qualifications



BY ZAINAB
2024

,Topic 7: Understanding the functionality of
HTML
7.1 Document structure
7.1.1 Understand how HTML is used to
structure web pages
a. doctypes
The doctype declaration is not an HTML tag; it is an instruction to the web browser about what
version of the markup language the page is written in. It should be the first thing in a HTML
document.

In HTML 5, the declaration is simple: <!DOCTYPE html>. In older documents (HTML 4 or
XHTML), the declaration is more complicated because the declaration must refer to a DTD
(Document Type Definition).

The <!DOCTYPE> declaration is not case sensitive.

b. elements
An element is an individual component of an HTML document. Elements provide semantic structure
and meaning to objects within a webpage.

Elements can contain attributes that define additional properties of a component.

An HTML element is defined by a start tag, some content, and an end tag. Empty elements have no
content (like the <br> element). Empty elements do not have an end tag.

HTML elements can also be nested i.e. elements can contain other elements. All HTML documents
consist of nested HTML elements. Property values of a parent element are inherited by the child
element.

c. tags
HTML tags are like keywords that define how the web browser will format and display the content.

d. attributes
HTML attributes are a piece of markup language used to adjust the behaviour or display of an HTML
element.

,7.1.2 Understand how to declare the
language of a html document
The lang attribute specifies the language of the element's content.

Syntax: <element lang="language_code">

e.g. <html lang=”en”>

- It allows search engines to return language specific results.
- It helps screen readers use the most appropriate pronunciation or accent.

, 7.1.3 Understand how the head element is
used to supply information about the
document
a. metadata
Metadata is information about data. It supplies information about the document.

The <meta> tag defines metadata about an HTML document.

<meta> tags always go inside the <head> element, and are typically used to specify character set,
page description, keywords, author of the document, and viewport settings. The metadata will not be
displayed on the page, but is used by browsers (how to display content or reload page), by search
engines (keywords), and other web services.

Elements belonging to the metadata content category modify the presentation or the behaviour of the
rest of the document, set up links to other documents, or convey other out-of-band information.

Elements belonging to this category are <base>, <command>, <link>, <meta>,
<noscript>, <script>, <style> and <title>.

examples of metadata
Define keywords for search engines:

<meta name="keywords" content="HTML, CSS, JavaScript">

Define a description of your web page:

<meta name="description" content="Free Web tutorials for HTML and
CSS">

Define the character set used:

<meta charset="UTF-8">

Define the author of a page:

<meta name="author" content="John Doe">

Refresh document every 30 seconds:

<meta http-equiv="refresh" content="30">

Setting the viewport to make your website look good on all devices:

<meta name="viewport" content="width=device-width,
initial-scale=1.0">

Geschreven voor

Study Level
Publisher
Subject
Course

Documentinformatie

Geüpload op
30 september 2024
Aantal pagina's
105
Geschreven in
2023/2024
Type
SAMENVATTING

Onderwerpen

€8,25
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
zainabatif

Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
zainabatif University of the West of England Bristol
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1
Lid sinds
1 jaar
Aantal volgers
0
Documenten
2
Laatst verkocht
1 jaar geleden

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Populaire documenten

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen