Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<meta charset="UTF-8"> | A<meta> is inside <body> - it must be inside <head> instead | |
| 2<meta name="viewport" content="width=device-width, initial-scale=1.0"> | BMakes the page scale correctly on mobile devices by matching the device screen width | |
| 3<meta> is a self-closing element - no closing </meta> tag is needed | C<meta> is self-closing - adding a </meta> closing tag is invalid | |
| 4<meta> tags must be placed inside <head>, not <body> | D<meta charset="UTF-8"> | |
| 5<meta charset="UTF-8"></meta> | ETells the browser to use Unicode encoding - supports characters from almost all languages | |
| 6<body> <meta charset="UTF-8"> </body> | F<head> <meta charset="UTF-8"> </head> |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<meta> — A self-closing HTML element placed in <head> that provides metadata about the page, such as character encoding or viewport settings.<head>
<meta charset="UTF-8">
</head><head>
<meta charset="UTF-8">
</head><head>
<meta charset="UTF-8">
</head><head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head><head>
<meta name="viewport" content="width=device-width">
</head>