Building Website Revision Worksheet (Answer Key)
Building Website Revision Worksheet (Answer Key)
Note: You do not need to memorize these answers. You can write answers in your own words but
your concept must be clear.
Code View
Code view is a mode in Dreamweaver where you can write and edit the HTML, CSS, JavaScript, and
other code for your website directly.
- In Code view, you can see the underlying code structure of your web page.
Design View
Design view is a mode in Dreamweaver where you can design and build your website visually, without
writing code.
- In Design view, you can see a WYSIWYG (What You See Is What You Get) representation of your web
page.
- This view is useful for designers and developers who prefer to work visually and don't need to write
code manually.
Split View
Split view is a mode in Dreamweaver that allows you to see both the Code view and Design view
simultaneously, side by side.
- In Split view, you can see the code on one side and the visual representation of your web page on
the other.
- This view is useful for developers who need to make changes to the code and see the results
immediately in the Design view.
Dreamweaver can be helpful for programmers at the initial level by providing a user-friendly
interface, code completion, syntax highlighting, and debugging tools that make it easier to learn and
develop web development skills.
1. Visual separation: HR creates a visual separation between different sections of content on a web
page, making it easier to read and understand.
2. Organize content: HR helps to organize content into logical sections, improving the overall structure
and layout of the page.
• A paired tag consists of two tags, the first one is called an opening tag and the
second one is called a closing tag.
• An Unpaired tag is a single tag that does not need a companion tag.
Q
Part a: Describe the primary purpose of CSS in web development and provide an example of
how CSS can be used to style a webpage element.
Cascading Style Sheets (CSS) is a vital component of web development used to control the
presentation and layout of web content. For instance, CSS can be employed to change the colors
and font size of text, alter the spacing between elements, or create responsive layouts that adapt
to different screen sizes. By applying CSS rules to HTML elements, developers can achieve a
consistent and visually appealing design for their webpages.
Part b: Define HTML and its role in creating webpages. Give an example of an HTML-paired
tag and explain its significance in structuring web content.
HTML, which stands for Hypertext Markup Language, is the backbone of web content. It
provides the structure and semantics needed to organize information on a webpage. An example
of an HTML paired tag is the <p> tag used for paragraphs. Paired tags enclose content, allowing
developers to define its purpose and formatting. For instance, <p> tags demarcate paragraphs,
ensuring proper text spacing and alignment within the webpage.
Part a: What does the HTML acronym stand for, and how does it relate to the structure of web
pages?
Answer:
• HTML stands for "Hypertext Markup Language."
• HTML is the standard markup language used to structure content on the World
Wide Web. It is responsible for defining the elements and layout of web pages, including
headings, paragraphs, links, images, and more. HTML uses tags to enclose and describe
different parts of a web page's content, allowing web browsers to interpret and display the
content as intended by the web developer.
Part b: What is the primary advantage of creating a website using a plain text editor like
Notepad, and how does it affect the coding process?
Answer:
• The primary advantage of creating a website using a plain text editor like Notepad
is that it provides complete control over the code without any automatic formatting or
interference.
• This means that web developers can write and edit HTML, CSS, and other code
directly in its raw form, ensuring precision and full customization. However, it also
requires a strong understanding of coding syntax and structure since there are no built-in
features to assist with code validation or suggestions like in more specialized web
development environments.
Scenario
Imagine you are a 7th-grade student assigned to create a website about your school's science fair
using Dreamweaver. Explain how you would use Dreamweaver's features to design the
homepage effectively. Provide two key steps you would take, and for each step, describe a
specific feature or action you would use, along with the reasons why it's important in creating an
engaging school science fair homepage.
Step 1 : First, I would start by opening Dreamweaver and creating a new HTML document for
the homepage. I would name it "index.html" as it's the default name for the homepage. This step
is crucial because it establishes the foundation for my website, and having an appropriate file
name ensures that it serves as the initial landing page when someone visits the site.
Step 2 : Next, I would focus on the visual design of the homepage. To do this, I would use
Dreamweaver's "Insert" menu to add elements like text, images, and headings to the page. For
instance, I'd insert an eye-catching banner image at the top with a title like "Our School Science
Fair." This step is important because it immediately grabs the visitors' attention and gives them a
clear idea of what the website is about.
Q
Scenario
Imagine you are designing a website for a local art gallery using Dreamweaver. Explain how you
can effectively use both tables and DIV elements to organize and display information about
different art exhibits on a single webpage. Provide two key reasons for using each of these layout
techniques and describe how they enhance the presentation of the gallery's information.
To create an engaging and organized webpage for the local art gallery using Dreamweaver, you
can effectively utilize both tables and DIV elements for different purposes.
Using Tables:
1. Styling and Flexibility: DIV elements are ideal for enclosing and styling
individual exhibit descriptions or sections. By wrapping exhibit details in DIVs, you can
apply custom CSS styles to each section, allowing for flexibility in terms of fonts, colors,
borders, and spacing. This enhances the visual appeal and customization of each exhibit
description.
2. Responsive Design: DIV elements can also be used to create a responsive design.
By using CSS media queries, you can adjust the layout and presentation of exhibit
information based on the screen size. This ensures that the gallery's website remains
accessible and visually appealing on various devices, including desktops, tablets, and
smartphones.
C) To ensure the website meets the needs and expectations of the users
Answer: C) To ensure the website meets the needs and expectations of the users
1. What is the purpose of using HTML and CSS when building a website?
1. What is the term for the visual representation of a website's layout and design in
Adobe Dreamweaver?
A) Code view
B) Design view
C) Live view
D) Split view
Answer: B) Design view
C) Split view, allowing users to see both code and design views simultaneously
Answer: C) Split view, allowing users to see both code and design views
simultaneously
B) Check Box
C) Radio Button
D) Select Menu
C) To specify the HTTP method (GET or POST) used to send the form data
1. What type of form element is used to collect a single line of text from the user?
A) Text Area
B) Text Box
C) Radio Button
D) Check Box
Answer: B) Text Box
1. What type of form element is used to allow the user to select only one option from
a group of options?
A) Check Box
B) Radio Button
C) Drop-Down Menu
D) List Box
1. What type of form element is used to allow the user to select multiple options
from a group of options?
A) Radio Button
B) Check Box
C) Drop-Down Menu
D) List Box
1. What type of form element is used to provide a list of options for the user to select
from?
A) List Box
B) Drop-Down Menu
C) Radio Button
D) Check Box
1. What type of form element is used to provide a scrollable list of options for the
user to select from?
A) Drop-Down Menu
B) List Box
C) Radio Button
D) Check Box
1. What type of form element is used to collect multiple lines of text from the user?
A) Text Box
B) Text Area
C) Radio Button
D) Check Box
A) Text Box
B) Text Area
C) Password Field
D) Submit Button