Chapter 1 Quiz Flashcards
(39 cards)
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