100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Resumen

Summary - Unit 2 (WIT12)

Puntuación
-
Vendido
-
Páginas
105
Subido en
30-09-2024
Escrito en
2023/2024

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

Institución
Grado

Vista previa del contenido

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">

Escuela, estudio y materia

Nivel de Estudio
Editores
Tema
Curso

Información del documento

Subido en
30 de septiembre de 2024
Número de páginas
105
Escrito en
2023/2024
Tipo
Resumen

Temas

$9.76
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
zainabatif

Documento también disponible en un lote

Conoce al vendedor

Seller avatar
zainabatif University of the West of England Bristol
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1
Miembro desde
1 año
Número de seguidores
0
Documentos
2
Última venta
1 año hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes