1.
What is the name of the application that allows us to work in both code and design views?
Correct Answer
A. Dreamweaver
Explanation
Dreamweaver is the correct answer because it is an application that allows users to work in both code and design views. It is a popular web development tool that provides a visual interface for designing web pages, as well as a code editor for writing and editing HTML, CSS, and JavaScript code. Dreamweaver's dual view feature allows users to switch between the visual design mode and the code view, making it easier to create and edit web pages using both visual and code-based approaches.
2.
What is the name of the code editing application that most, if not all of us, used in class to create our web sites?
Correct Answer
A. TextMate
Explanation
TextMate is the correct answer because it is a popular code editing application commonly used for creating websites. It is likely that the majority, if not all, of the individuals in the class used TextMate for coding purposes. NotePad, Microsoft Word, and Safari are not typically used for code editing and are not as commonly associated with web development.
3.
True or false?You should avoid coding inline styles within an HTML document whenever possible?
Correct Answer
A. True
Explanation
Coding inline styles within an HTML document should be avoided whenever possible because it can make the code difficult to maintain and update. Inline styles mix the HTML structure with the styling, making it harder to separate the two. It is recommended to use external CSS files or internal stylesheets to keep the code more organized and improve readability. This allows for easier maintenance and updates to the styling without having to modify the HTML structure.
4.
True or false?All styling should be done within an external style sheet.
Correct Answer
A. True
Explanation
All styling should be done within an external style sheet because it allows for better organization and separation of concerns. By keeping the styling separate from the HTML code, it becomes easier to maintain and update the styles across multiple pages. Additionally, external style sheets can be cached by the browser, leading to faster page load times.
5.
An ID that has been created in your CSS can be used __________ time(s) within you HTML document.
Correct Answer
D. 1
Explanation
An ID that has been created in your CSS can be used only once within your HTML document. This is because an ID is a unique identifier and should only be assigned to one element on the page. Using the same ID multiple times would result in invalid HTML and can cause conflicts and unexpected behavior in CSS and JavaScript.
6.
A class that has been created in your CSS can be used ______________time(s) within your HTML document.
Correct Answer
B. 1 or more
Explanation
A class that has been created in your CSS can be used 1 or more times within your HTML document. This means that you can apply the same class to multiple elements in your HTML, allowing you to style them consistently using the CSS rules defined for that class. By reusing the class, you can save time and effort in writing repetitive CSS code for each individual element.
7.
What are the three main tags that should always be found in your HTML document?Please be sure to CHOOSE THREE.
Correct Answer(s)
A. Html
C. Body
D. Head
Explanation
The three main tags that should always be found in an HTML document are html, body, and head. The html tag is the root element of an HTML page and is used to enclose all other elements. The body tag represents the content of the HTML document, such as text, images, links, etc. The head tag contains meta-information about the HTML document, such as the title, character encoding, and linked stylesheets or scripts.
8.
Which bracket is used before and after each set of declarations has been coded for a given selector in your CSS?
Correct Answer
C. Curly brackets
Explanation
Curly brackets are used before and after each set of declarations in CSS. They are used to enclose a block of code and define the scope of the declarations within that block. The use of curly brackets helps to organize and separate different sections of code, making it easier to read and understand.
9.
What is the name of the application on a Mac that allows for very simple and fast web site creation? This application allows you to drag and drop your media right onto the page.
Correct Answer
C. IWeb
Explanation
iWeb is the correct answer because it is an application on a Mac that allows for simple and fast website creation. It has a drag and drop feature that allows users to easily add media to their web pages.
10.
Which of the following tags would allow you to input a line break in your HTML document correctly?
Correct Answer
A. Br
Explanation
The correct answer is "br". The br tag is used to insert a line break in an HTML document. It does not require a closing tag and can be used within any element.