TOPIC 3 Flashcards
This tag causes text between the tags to be displayed in bold
<b></b>
This tag causes the text to be displayed in italic.
<i></i>
This tag causes the text to be displayed with an underline.
<u></u>
Changes the font properties of the text between the tags.
<font></font>
Sets which font is used, e.g. <font face=”Arial”></font>
Face
Sets the font size, e.g. <font size=“72”></font>
Size
Sets the font color, e.g. <font color=“red”></font>
color
Defines contact information for the author/owner of a document/article
<address>
</address>
Italicized and defines emphasized text
<em></em>
Defines smaller text
<small></small>
Bolds and defines important text
<strong></strong>
Defines subscripted text
< sub >
Defines superscripted text
< sup >
An HTML tag used to create scrolling text or an image.
<marquee>
</marquee>
Allows you to create multiple spaces that are visible on a web page.
  Non-Breaking Space.
You can specify color names directly like green, blue or red.
Color names
This value is specified using the rgb( ) property.
Color decimal or percentage values
A six-digit code representing the amount of red, green, and blue that makes up the color.
Hex Colors
An HTML table is defined with the _______.
<table> tag
</table>
Each table row is defined with the _______
<tr> tag.
</tr>
A table header is defined with the _______
<th> tag
</th>
By default, _______ are bold and centered.
table headings
A table data/cell is defined with the _______
<td>
</td>
Defines a table.
<table>
</table>
Defines a table caption.
<caption>
</caption>
Groups the header content in a table.
<thead>
</thead>
Groups the body content in a table.
<tbody>
</tbody>
Defines a row in a table.
<tr>
</tr>
Defines a header cell in a table.
<th>
</th>
Defines a cell in a table.
<td>
</td>
To make a cell span more than
one column, use the colspan attribute.
< th colspan >
To make a cell span more than one row, use the ______ attribute.
< th rowspan >
An inline frame is used to embed another document within the current HTML document.
<iframe></iframe>
The tag specifies a section that is quoted from another source. Browsers usually indent elements.
With the cite attribute, the programmer can set the reference for the quote.
Blockquote tag or <blockquote></blockquote>
these are crucial for displaying text and symbols correctly.
Character sets and Special Characters
All modern computer languages use the ________ character set a default.
UTF-8
The encoding for the early web was ______.
ASCII
____ used 7 bits for the character and could only represent 128 different characters (English letters).
ASCII
It was first character set in Windows. It was a copy of ASCII but used 8-bits to represent 256 different characters (international letters). It is supported by all browsers.
Windows-1252
The HTML5 specification encourages web developers to use the UTF-8 character set. Kindly define it inside the ______.
Head Tag
These like mathematical operators, arrows, technical symbols and shapes, are not present on a normal keyboard. To add these symbols to an HTML page, you can use the HTML entity name.
If no entity name exists, you can use the entity number.
If the character does not have an entity name, you can use a decimal (or hexadecimal) reference.
Symbols
It is nothing more than a container unit that encapsulates other page elements and divides the HTML document into sections.
DIV tag < div >
Web developers use _______ elements to group together HTML elements and apply CSS styles to many elements at once.
< div >
has no required attributes, but style, class and id are common.
< div >
is often used to group sections of a web page together.
< div >
clearly describes its meaning to both the browser and the developer.
Semantic Tag
Examples of semantic elements: ______, _____, and _____ Clearly defines its content.
< form >, < table >, and < article >
Examples of non-semantic elements: ____ and ____ Tells nothing about its content.
< div > and < span >
What are the semantic elements
< div id=”nav” >
< div class=”header” >
< div id=”footer” > to indicate navigation, header, and footer.
uses a variety of attributes that are applied to different tags to provide additional information or modify the behavior of elements.
HTML (Hypertext Markup Language)