8 Extra Markup Flashcards
1
Q
Tell the browser what version of HTML it is
A
<!DOCTYPE html>
2
Q
Add html comments
A
<!– commen –>
3
Q
Make an attribute referable
A
id=””
4
Q
Make a group of elements referable
A
class=””
5
Q
Create a generic block element
A
<div>
6
Q
Create a generic inline element
A
<span>
7
Q
Have a box that peaks into another page (an key attributes)
A
<iframe> </iframe> src height width scrolling (to define where it will have sidebars. Not in HTML 5) frameborder seamless
8
Q
What does <meta> do?
A
contains information about that web page such as:
description- used by search engines to understand a page
keywords- doesn’t matter anymore
robots- defines whether this page should be searchable
author-
pragma- prevents caching
expires- defines when it should no longer be cached