W3Schools - HTML (Attributes, Paragraphs & Text Formatting)

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Color Property (Style)

The ___ ___ defines the text color for an HTML element.

"alt" Attribute

The ___ attribute specifies an alternative text to be used, when an image cannot be displayed. - the value of the attribute can be read by screen readers. This way, someone "listening" to the webpage, e.g. a blind person, can "hear" the element.

"lang" Attribute

The language of the HTML text is declared with the ___ attribute. - declaring a language is important for accessibility applications (screen readers) and search engines. - IMAGE: the first two letters specify the language (en). If there is a dialect, use two more letters (US).

"title" Attribute

The value of the ___ attribute will be displayed as a tooltip when you mouse over the element.

<b> Element

This element defines bold text, without any extra importance. - similar to the <strong> Element

<del> Element

This element defines deleted (removed) text. - text is usually shown as being "strikethrough".

<em> Element

This element defines emphasized text, with added semantic importance. - similar to the <i> Element - by default, this element is displayed as italicized text in most browsers.

<ins> Element

This element defines inserted (added) text. - text is usually shown as being underlined.

<i> Element

This element defines italicized text, without any extra importance. - similar to the <em> Element

<mark> Element

This element defines marked or highlighted text.

Pre Element <pre>

This element defines preformatted text. - the text inside a ___ element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks.

<small> Element

This element defines smaller text.

<strong> Element

This element defines strong text, with added semantic "___" importance. - same as <b>, but this one adds enunciation in a speaking program. - similar to the <b> Element

<sub> Element

This element defines subscripted text. - <sup> defines superscripted

Attributes

- All HTML elements can have ___ - ___ provide additional information about an element - ___ are always specified in the start tag - ___ usually come in name/value pairs like: name="value"


संबंधित स्टडी सेट्स

Excel Associate 2019 Skill Review 3

View Set

NCLEX - PN Review - CARDIOVASCULAR

View Set

Combo(Kap2+guide+mag2+bar+crunch+j2z)_copy_mag2

View Set

Interpersonal Communication Chpt. 3

View Set

Chapter 4:Career Longevity: Self-Care, Burnout Prevention, and the Wellness Model.

View Set

Chapter 10 - Tourism Motivation & Travel Benefits

View Set

Ch 5 Reproductive Tract Infections (Ricci, Kyle & Carman: Maternity and Pediatric Nursing, Third Edition)

View Set