Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
This The title element worksheet is part of the HTML and CSS Journey journey. Print it as a booklet?
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<title>My Portfolio</title> | A<head><title>About Us</title></head> | |
| 2<head> <title>Shop</title> </head> | B<title> must contain plain text only - HTML tags like <b> inside <title> are not valid | |
| 3<title> must be placed inside <head>, not <body> | C<title> is correctly placed inside <head> where it sets the browser tab text | |
| 4<title> contains plain text only - no nested HTML tags allowed inside it | DSets the text shown in the browser tab to 'My Portfolio' | |
| 5<body> <title>Home</title> </body> | E<title>Welcome to My Blog</title> | |
| 6<title>My <b>Page</b></title> | F<title> is inside <body> - it must be inside <head> instead |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
<title> — An HTML element placed inside <head> that sets the text shown in the browser tab. Its content is not displayed on the page.<head>
<title>My Page</title>
</head><head>
<title>Home</title>
</head><!DOCTYPE html>
<html>
<head>
<title>Shop</title>
</head>
</html><head>
<title>Portfolio</title>
</head><!DOCTYPE html>
<html>
<head>
<title>Blog</title>
</head>
<body></body>
</html>