HTML INTERMEDIATE Flashcards
You can add notes or explanations to your code with the comment tag:
<!-- … -->
Comment: Heading below
Heading 3: Product features
<!--Heading below-->
<h3>Product features</h3>
You can use comment for two things. Which?
Help others
Disable a command
Line break tag
<br></br>(without the closing tag)
Text: Stay Hungry
Stay Foolish
<p>Stay Hungry<br></br>Stay Foolish</p>
(without the closing tag for the line break)
The ______ container tag is used to group everything that gets displayed on a page when loaded in a browser.
<body>
</body>
Body tags are needed for your page to be compatible with:
all web browsers
The ______ container tag is used to include technical information about the page.
<head>
</head>
3 elements nested in the head tag
Title, description and keywords
How many body elements are allowed on a web page?
1
Some HTML tags need to be placed inside others. This is called:
Nesting
Tag for bold text
<b></b>
Bold text:Web development
<b>Web development</b>
Tag for italic text
<i></i>
Text in italic: Digital marketing
<i>Digital marketing</i>