ITPEC IP April 2020 Question 9
Which of the following is an appropriate description concerning the usage of HTML (Hyper Text Markup Language) tags?
Explanation
BODY describes the text of a Web page — the <BODY> element holds the content that the browser displays.
An HTML document has two main parts: <HEAD>, with information about the page such as its title in <TITLE>, and <BODY>, with everything shown in the browser window: text, headings, images, tables, links and forms.
Answer (b)
Why not others:
- •(a) — the title of a page, shown in the browser's title bar or tab, is set with
<TITLE>inside<HEAD>;<LABEL>attaches a caption to a form control such as a check box - •(c) —
<BIG>only showed text one size larger than the surrounding text and was dropped in HTML5; the size and style of characters are set with CSS (formerly<FONT>) - •(d) —
<FORM>groups input controls such as text boxes and buttons whose values are sent to the server; frames were made with<FRAMESET>and<FRAME>
Key rule: HTML tags mark the structure of a page: <HEAD> holds information about the page, <BODY> holds what is displayed, and the appearance of text belongs to CSS.
Algorithm and Programming · AI-written, may contain errors
This question comes from an official ITPEC past paper. ITPEC Practice is an independent study tool and is not affiliated with ITPEC. See the official IP past-paper collection or Report an issue.