HTML Review Flashcards
What does the Body element contain?
Everything inside this element is shown inside the main browser window.
What does the Head element contain?
Meta data. Information about the page (title, meta, link)
What is HTML and what does it stand for?
Hypertext Markup Language: HTML determines the structure of web pages.
Hypertext: text (often with embeds such as images, too) that is organized in order to connect related items
Markup: a style guide for typesetting anything to be printed in hardcopy or soft copy format
(Typesetting is the way that text is composed using individual types — the symbols, letters, and glyphs in digital systems.)
Language: a language that a computer system understands and uses to interpret commands.
What is the purpose of a n html declaration?
To tell the browser which version of HTML the page is using (current version is HTML5)
What is the purpose of HTML attributes?
to add information that configures or adjusts the behavior of elements
What two attributes are needed for an img element?
src=”This tells the browser where it can find the image file”
alt=”Provides a text description of the image”
(title=”Adds a tool tip when the user hovers over the image”
How many HTML headings are there and what is the syntax for each?
Six.
<h1></h1>
<h2></h2>
<h3></h3>
<h4></h4>
<h5></h5>
<h6></h6>
Name some escape character examples:
(no spaces)
Accent on letter
&(letter)acute ;
&eaccute ; (the letter e will be accented)
Amersand
& amp ;
& #38 ;
Reg Trademark
& reg ;
& #174 :
Multiplication Sign
& times ;
& #215 ;