• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 46 páginas
Examen

Html Latest Exam Actual 2026.Pdf

Document preview thumbnail
Vista previa 4 fuera de 46 páginas

HTML LATEST EXAM ACTUAL

Vista previa del contenido

HTML LATEST EXAM ACTUAL 2026/2027 QUESTIONS
AND SOLUTIONS RATED A+
✔✔The font-family property defines the font to be used for an HTML element - ✔✔<h1
style="font-family:verdana;">This is a heading</h1>
<p style="font-family:courier;">This is a paragraph.</p>

✔✔The font-size property defines the text size for an HTML element: - ✔✔<h1
style="font-size:300%;">This is a heading</h1>
<p style="font-size:160%;">This is a paragraph.</p>

✔✔The text-align property defines the horizontal text alignment for an HTML element -
✔✔<h1 style="text-align:center;">Centered Heading</h1>
<p style="text-align:center;">Centered paragraph.</p>

✔✔<b> - ✔✔Defines bold text

✔✔<em> - ✔✔Defines emphasized text

✔✔<i> - ✔✔Defines italic text

✔✔<small> - ✔✔Defines smaller text

✔✔<strong> - ✔✔Defines important text

✔✔<sub> - ✔✔Defines subscripted text

✔✔<sup> - ✔✔Defines superscripted text

✔✔<ins> - ✔✔Defines inserted text (underlines it)

✔✔<del> - ✔✔Defines deleted text

✔✔<mark> - ✔✔Defines marked/highlighted text

✔✔The HTML <q> element defines - ✔✔<p>WWF's goal is to: <q>Build a future where
people live in harmony with nature.</q></p>

✔✔The HTML <blockquote> element (create one and also cite it) - ✔✔<p>Here is a
quote from WWF's website:</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization,

,WWF works in 100 countries and is supported by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>

✔✔The HTML <abbr> - ✔✔<p>The <abbr title="World Health
Organization">WHO</abbr> was founded in 1948.</p>

✔✔The HTML <address> element defines contact information (author/owner) of a
document or an article. - ✔✔<address>
Written by John Doe.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

✔✔HTML <cite> - ✔✔<p><cite>The Scream</cite> by Edvard Munch. Painted in
1893.</p>

✔✔<bdo> for Bi-Directional Override - ✔✔<bdo dir="rtl">This text will be written from
right to left</bdo>
Try it Yourself »

✔✔Show an html comment - ✔✔<!-- Write your comments here -->

✔✔Conditional Comments - ✔✔<!--[if IE 9]>
.... some HTML here ....
<![endif]-->

IE, has been programmed to recognize the special <!--[if IE]> syntax, resolves the if and
parses the content of the conditional comment as if it were normal page content.

✔✔You can set the background color for HTML elements:

such as <p> and <h1> tags - ✔✔<h1 style="background-color:DodgerBlue;">Hello
World</h1>
<p style="background-color:Tomato;">Lorem ipsum...</p>

✔✔Border Color
You can set the color of borders of tags (show an example with a couple of tags) -
✔✔<h1 style="border:2px solid Tomato;">Hello World</h1>
<h1 style="border:2px solid DodgerBlue;">Hello World</h1>
<h1 style="border:2px solid Violet;">Hello World</h1>

,✔✔In HTML, colors can also be specified using (what are they?) - ✔✔RGB values, HEX
values, HSL values, RGBA values, and HSLA values: (where A standts for alpha)

✔✔RGB Value
In HTML, a color can be specified as an RGB value, using this formula: (code out some
random colors) RGB - ✔✔rgb(red, green, blue)

Each parameter (red, green, and blue) defines the intensity of the color between 0 and
255.

For example, rgb(255, 0, 0) is displayed as red, because red is set to its highest value
(255) and the others are set to 0.

To display the color black, all color parameters must be set to 0, like this: rgb(0, 0, 0).

To display the color white, all color parameters must be set to 255, like this: rgb(255,
255, 255).

✔✔When all RGB values are equal, you will get - ✔✔a shade of gray

✔✔In HTML, a color can be specified using a hexadecimal value in the form - ✔✔For
example, #ff0000 is displayed as red, because red is set to its highest value (ff) and the
others are set to the lowest value (00)

✔✔HSL Value ( show an example) - ✔✔Hue is a degree on the color wheel from 0 to
360. 0 is red, 120 is green, and 240 is blue.

Saturation is a percentage value, 0% means a shade of gray, and 100% is the full color.

Lightness is also a percentage, 0% is black, 50% is neither light or dark, 100% is white

hsl(0, 100%, 50%)

✔✔alpha parameter Is applicable to HSL and RGB values where - ✔✔0 is full
transparency and 1 is all solid

✔✔CSS can be added to HTML elements in 3 ways: - ✔✔Inline - by using the style
attribute in HTML elements
Internal - by using a <style> element in the
External - by using an external CSS file

✔✔Inline CSS - ✔✔<h1 style="color:blue;">This is a Blue Heading</h1>

✔✔Internal CSS
An internal CSS is used to define a style for a single HTML page.

, An internal CSS is defined in the <head> section of an HTML page, within a <style>
element: - ✔✔<head>
<style>
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
</style>
</head>

✔✔External CSS
An external style sheet is used to define the style for many HTML pages.

With an external style sheet, you can change the look of an entire web site, by changing
one file!

To use an external style sheet, add a link to it in the <head> section of the HTML page:
- ✔✔<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>

✔✔CSS Fonts (show three properties and examples) - ✔✔The CSS color property
defines the text color to be used.

The CSS font-family property defines the font to be used.

The CSS font-size property defines the text size to be used.

✔✔CSS Border (Create one around a <p>) - ✔✔The CSS border property defines a
border around an HTML element

p{
border: 1px solid powderblue;
}

✔✔CSS Padding (what is it and show an example) - ✔✔The CSS padding property
defines a padding (space) between the text and the border

p{
border: 1px solid powderblue;
padding: 30px;
}

Información del documento

Subido en
5 de abril de 2026
Número de páginas
46
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
TIPSTAR
3.4
(20)
Vendido
164
Seguidores
6
Artículos
27149
Última venta
5 horas hace



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