Chapter 1 Quiz Flashcards
What does HTML stand for?
Hypertext markup language
What are two ways to create HTML?
use a web editor or hard coding
What does hypertext mean?
you can jump from place to place by clicking on text
What does markup mean?
Tags are placed in to tell the browser what to do
What is the program that interprets and then displays HTML code?
the browser
What do you need to create a web page?
Desire, text editor, browser
What is the W3C?
World Wide Web Consortium; they recommend web standards.
What is XHTML?
A mix of HTML and XML
What extension is necessary when saving your HTML file in notepad?
.html
What are tags?
They are enclosed in and tell the browser what to do
Are tags case sensitive?
No
What is the nesting rule for tags?
First in, last out
What is an attribute?
It goes inside the tag and contains additional information
An attribute value must always be enclosed in what?
quotes
What is the basic structure of an HTML page?
HTML, head, body
Where does the title go?
in the head
What goes in the body?
the main content of the website
Why do we put DOCTYPE in the code?
To show we are following the rules of coding.
What does the browser do with white space in the html file?
ignores it
How is the p tag different from the br tag?
p tag skips a whole line, while the <br></br> tag moves to the next line
How do we make text bold and italics?
b for bold, i for italics
What does the pre tag do for us?
allows for pre-formatted text in the browser
Name 2 disadvantages of the pre tag.
- text is in different font
- text is going to be on a separate line
What is the best way to create horizontal white space?
use the
What is the practical use for using the  ?
to indent a paragraph
How many heading levels are there?
6
What is the largest and smallest headings?
Largest=h1, smallest=h6
How do all headings appear, regardless of size?
boldface
What attribute and value would you use to align a heading to the right?
align=”right”
The GIF image is best used for what type of image?
for animated images, or images with low quality
The JPEG image format is best used for what type of image?
for high quality images with lots of color and details
What tag allows us to add an image?
img
What attribute of the img tag specifies the image file we want to appear?
src
How do we include alternative text with our pictures?
alt=”text”
State a reason we should include alternative text.
to show a caption, also required by law for American Disabilities Act so people with issues can see it.
What attribute and value of the img tag do you use to wrap text around an image?
align=”middle”
What do values top, bottom, and middle of the align attribute to?
A single line of text will appear with the image.
Why is it recommended you use height and width attributes of the img tag?
You can make image to regular size or make it bigger or smaller to adjust it to the best size that fits the website.
What can happen to an image when you resize it using HTML code?
it gets distorted.