NEW
Font size
WorksheetsSpecial tags
Total questions: 15
Worksheet time: 8mins
Each cell in a table is created with
<tr> and </tr>
<td> and </td>
<cell> and </cell>
<tb> and </tb>
<script>alert("Today's Date is: " + Date());</script>
Cannot be used in an HTML page
Works only if you also use the <noscript> tag
Displays today's date
Will not display anything
Creates one blank space
Creates a new blank line
Creates a new paragraph
Is not a valid character entity
<noscript>Today's Date is: Date();</noscript>
Displays nothing in modern browsers
Will not work because "alert" is not used
Displays "Today's Date is: Date();" if browser does not support JavaScript
Displays the current date
To help search engines know what your HTML page is about
<meta name="keyword" content="basketball is a fun sport">
<meta name="keyword" content="basketball, sports, fun">
<title> = "Basketball is a Fun Sport" </title>
<meta name="author" content="basketball, sports, fun>
Why does <<John Doe>> not display John's name?
HTML does not display anything written inside angle brackets.
"John" is not Mr. Doe's name.
Because it displays "<<John Doe>>"
The <script> and </script> tags were left off.
To create a table, begin with
</table>
<table>
<tr>
<td>
Table rows are created with
<tr> and </tr>
<th> and </th>
<td> and </td>
<row> and </row>
In a table, colspan="2"
causes a column to span two rows
causes a row to display as column headers
causes a row to span two columns
causes a cell to span two columns
<br> or <br />
Creates a blank line between paragraphs
Creates one blank space
Creates a line break
Have been replaced by <p> tags
Menus that contain links to other pages or websites should be wrapped in
<nav> ... </nav>
<link> ... </link>
<menu> ... </menu>
<ribbon> ... </ribbon>
px
1/96 of an inch
percentage of the letter "x"
height of the letter "x"
0.01 in.
em
0.01 in.
the default font size of the html root element
equals the current font size
a percentage of the current font size
rem
1/96 of an inch
equals the current font size
the width of the letter "m" in the current font
the default font size of the html root element
The default font size for modern browsers
24px
16px
1em
1rem
