• ¿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 3 fuera de 18 páginas
Examen

HTML Basics- Questions & Answers

Document preview thumbnail
Vista previa 3 fuera de 18 páginas

HTML Basics- Questions & Answers

Vista previa del contenido

HTML Basics- Questions & Answers
Lists Inside Lists Correct Ans-To create sub-bullets within a numbered list:



<ol>

<li>Dad's interests

<ul>

<li>football</li>

<li>knitting</li>

</ul>

</li>

<li>Mom's interests

<ul>

<li>hating football</li>

<li>skydiving</li>

</ul>

</li>

</ol>



Inline CSS Correct Ans-This simply means we can do some styling in our HTML file without
worrying about a separate CSS file.

,Change Font Size Correct Ans-To change font size we use the style attribute. We make it
equal to font-size, followed by a colon, the size you want, and end it with px (short for "pixels").



Ex) <p style="font-size: 12px">



Change Font Color Correct Ans-To change the color of text, simply add the style attribute in
the opening tag, then make the style equal to "color:blue" (or whatever color you like).



Ex) <h2 style="color:red">



Change Multiple Attribute Values at Once Correct Ans-What if you want to change the color
and the size of the text (both values of the style attribute)? Simple! Just add a semi-colon
between each bit.



Ex) <h2 style="color: green; font-size:12px">



Change Font Type (font family) Correct Ans-Add a font-family style attribute to any tag that
creates text (headers, paragraphs, lists, links, etc.)



Ex) <li style="font-family: Arial">Hello!</li>



*The font name needs to be capitalized! Arial, Verdana, etc.

, Style Attribute Correct Ans-Allows you to change text and page characteristics without using
CSS, including font size, font type, font color, page background color, text alignment, etc.). Used
inside the opening tag of several elements.



Change Background Color Correct Ans-We can use the style attribute, and set it equal to
"background-color: red" (or whatever color you want).



Ex) <p style="background-color: red;">Hello!</p>



Change Text Alignment Correct Ans-Use the style attribute. And then we use "text-align:left"
(or right, or center) to determine the location of the text.



Ex) <h1 style="text-align:center">



Bold Words Correct Ans-Put <strong> </strong> around the words you wish to bold.



Ex) <p>Do you hear the people <strong>sing?</strong></p>



Italicize Words Correct Ans-Put <em> </em> around the words you wish to bold. Em =
emphasize.



Ex) <p>I am <em>so</em> tired.</p>

Información del documento

Subido en
11 de noviembre de 2024
Número de páginas
18
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$13.49

¿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.
StudyLoom01
4.2
(34)
Vendido
137
Seguidores
35
Artículos
6909
Última venta
1 semana 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