Folders and the structure of HTML
Answers are for parents and teachers.
1
Write a complete small HTML page with the title “My Page”, one heading and one paragraph.
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>My Page</title></head><body><h1>Heading</h1><p>A paragraph.</p></body></html>
2
Say what is wrong and correct it: <img src="pic/cable.webp">
There is no alt. Correct: <img src="pic/cable.webp" alt="A black cable">
3
Decide where each goes (head or body): the title, a heading, a picture, the character set.
head: the title and the character set; body: the heading and the picture.
4
Put in order from the largest to the smallest: h4, h1, h6, h2.
h1, h2, h4, h6.
5
You saved a page and the browser shows its code instead of the page. Give one likely reason and the fix.
The name probably ends in .txt (page1.html.txt). Rename it so it ends in .html.