Docsity

Web Development Foundations: C779 Study Guide with Key Concepts and Q&A, Exams of Web Design and Development

Toggle sidebar
bg1
Web Development Foundations - C779 Study Guide
1. * An organization has users which run older versions
of Internet Explorer. Which action should be done to
ensure that that web page content is visible in all
browsers?
Add JavaScript code to
HTML documents and
create a new CSS rule.
2. * What happens when a site visitor views a web page
that uses a font unavailable on the visitor's computer?
The browser's default font
will be displayed.
3. * Which two methods are used to apply Cascading
Style Sheets aka CSS?
Embedding an internal
style sheet in an HTML
page
Linking an HTML page to
an external style sheet
4. * Which value of the opacity property in CSS3, repre-
sents completely opaque?
1.00
5. * Which directive overrides normal cascading in CSS? !Important
6. * What are Syntactically Awesome Style Sheets aka
SASS used for with regard to adding functionality?
As a CSS extension lan-
guage for preprocessing
7. * Given the following CSS: p{color: red;} p{color: yel-
low;} p{color: green;} p{color: purple;} Which color is
used when text in the referenced paragraph displays?
Purple
8. * Given the following markup and code: <nav
id="basenav"> green or black </nav> #basenav { col-
or: red; } nav { color: blue; } Which color will the navi-
gation element be?
Red
9. * Which code block should be used to set the back-
ground image for a web page?
body { background-im-
age: url('paper.gif') }
1 / 23
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17

Partial preview of the text

Download Web Development Foundations: C779 Study Guide with Key Concepts and Q&A and more Exams Web Design and Development in PDF only on Docsity!

    • An organization has users which run older versions of Internet Explorer. Which action should be done to ensure that that web page content is visible in all browsers? Add JavaScript code to HTML documents and create a new CSS rule.
    • What happens when a site visitor views a web page that uses a font unavailable on the visitor's computer? The browser's default font will be displayed.
    • Which two methods are used to apply Cascading Style Sheets aka CSS? Embedding an internal style sheet in an HTML page Linking an HTML page to an external style sheet
    • Which value of the opacity property in CSS3, repre- sents completely opaque?
    • Which directive overrides normal cascading in CSS? !Important
    • What are Syntactically Awesome Style Sheets aka SASS used for with regard to adding functionality? As a CSS extension lan- guage for preprocessing
    • Given the following CSS: p{color: red;} p{color: yel- low;} p{color: green;} p{color: purple;} Which color is used when text in the referenced paragraph displays? Purple
    • Given the following markup and code: green or black #basenav { col- or: red; } nav { color: blue; } Which color will the navi- gation element be? Red
    • Which code block should be used to set the back- ground image for a web page? body { background-im- age: url('paper.gif') }
    • Which HTML tag is used to display text exactly as it is defined in the HTML markup? Pre
    • Which CSS state selectors show uninspected HREFs in red? a:link { color:red; }
    • Which type of address does the hyperlink ../about/map.html point towards? Relative Uniform Resource Locator (URL)
    • Which attribute is used with the tag to display text if the image fails to load? alt
    • Which property is used in CSS3 to specify the left or right alignment of an image? float
    • Which attribute is used to specify the format of a video file? type
    • Which symbol with an href value tells the browser to look for an anchor within the current document? Hash (#)
    • Which valid code shows a functional, formatted hy- perlink reference? W
    • Which pair of points is specified when defining a rectangular hot spot? Upper left and lower right
    • Which two points are specified when defining a cir- cular hot spot? Center Radius
    • Which table element is always required when adding a table to an HTML page? Row
    • Which HTML5 element is used to draw graphics on a web page? canvas
    • Which request method should be used in a form to append parameters into a query string? Get
    • Which two form elements should use the same name for groups of related elements? Radio Checkbox
    • Which method type securely sends form data that requires additional processing by the CGI script? Post
    • What happens to data entered into a web form after the Reset button is selected? It is cleared and the form fields are set to their de- fault values.
    • Which test is designed to detect the automated sys- tems used by spammers?

CAPTCHA

    • Which HTML5 tag attribute should be supplied for an input field in a web form if submitted to the server? Name
    • Which input tag type value is used to create a group of mutually exclusive options? Radio
    • Which attribute should be used to add default text to an input tag of type text? Value
    • Which tag is a valid form field for exclusive use in HTML5?
    • Which hosting option allows a company to ship spe- cific hardware to the provider? Colocation service
    • An organization plans to update a web page that has a multitiered architecture. The developer needs to ensure that the web page will function as expected before deploying the updates. Where should the de- veloper perform regression testing? On a clone of production machines
    • Which table property has top, bottom, and middle values? Vertical-align
    • Which HTML5 element structure is defined for com- pany services and blogs? article
    • Which protocol should be used for publishing multi- ple files to a website?

FTP

    • Which tag should be added to ensure a responsive design in a web page, and which will be accessed from a variety of devices?
    • What is a benefit of a GUI editor? Writes HTML code auto- matically
    • What is the purpose of the W3C Authoring Tool Accessibility Guidelines? To guide development of editors for developers with disabilities
    • What does the W3C Authoring Tool Accessibility Guidelines evaluate? Usability of the GUI editor by a user with disabilities
    • What are two characteristics of ? Instructs a web brows- er which HTML version to use
    • What enables applications to add updates to an interface without the need to refresh the page? Ajax
    • What is a benefit of using a virtual machine on a shared host? Reduced costs with less physical equipment
    • Which hosting solution requires the purchase of hardware and software? In-house
    • Which HTML5 geolocation API process retrieves the user's latitude and longitude? getCurrentPosition()
    • What is a characteristic of a virtual server? Multiple sites are hosted on individual servers.
    • Which tag uses the manifest attribute to enable the offline support for a web page?
    • What is the purpose of the WebM MIME type? Uses a file format to stream online videos
    • Which HTML5 element has a poster attribute? Video
    • Which technique is used to reduce the number of calls for static files? Caching
    • Which responsibility is expected of a web project manager? Communicating with all stakeholders
    • What is the maximum recommended file size for a web page in order to avoid long download times?

100 KB

    • Which database type can store data in a single table only? Flat file
    • Which audience development technique can initiate an interaction with an online visitor? Push technology
    • What is used to give web applications the same responsiveness as desktop applications? Ajax
    • Which advantage does a dedicated mobile website have, compared to a mobile application? Cross-platform usability
  1. *** SGML Standard Generalized Markup Language. Meta Language used to cre- ate other languages like HTML or XML
  2. *** HTML Frameset Use to place web pages inside each other to cre- ate separate panes in the browser window
  3. *** HTML 4.01 Transitional allowed developers to in- sert formatting using ei- ther CSS or tradition- al layout instructions. Al- lowed deprecated logs. Rendered in browsers that did not support HTML 4.01 features such as CSS
  4. *** HTML 4.01 Strict required the exclusive use of CSS when defining lay-
  • Meets modern require- ments with fewer plug-ins
  1. ** DTD aka Document Type Definition Defines the structure and the legal elements and at- tributes of an XML docu- ment.
  2. *** ADA American's with Disabilities Act - 1990
  • Broad application of ac- cessibility standards
  • Relevant in the US
  • Accommodations such as text-based alternatives to all non-text content, im- ages with text based de- scriptions, easy to read forms by screen-readers
  1. ** You have contracted with a division of the US De- partment of the Interior to create web pages for a site that has visitors who may be visually impaired. Which must you consider as you design web pages for maximum accessibility by this audience. Section 508 of the Reha- bilitation Act
  2. ** Section 508 of the Rehabilitation Act - 2001
  • Requires that govern- ment agencies must give individuals with disabili- ties access to information technology that is compa- rable to the access avail- able to others
  • Specific to Federal Agency, developed, pro- cured, maintained and used
  • Accommodations for all electronic and information technology
  • Detail standards for websites
  1. ** W3C - The World Wide Web Consortium is the main in- ternational standards for Web
  • Includes the WAI aka Web Accessibility Initia- tive. Technology, guide- lines, tools, education, outreach and research and development
  • Ensures core technolo- gies are equally accessi- ble
  • Includes WCAG aka web content accessibility guidelines, universal set of standards promoting ac- cessibility.
  • Defines important tech- nical specifications, such as how the main parts of a URL are composed.

Internet; a Web address. Marks the webpage.

  1. *** What is the functional purpose of HTML in web design? Browsers decode HMTL to render a webpage. All browsers have to comply with HTML standards as defined by W3C.
  2. *** Which type of editor is used to develop HTML and CSS files? Pure text editors should be used when developing HTML and CSS files.
  3. *** Breaking down URL http is protocol www is subdomain .moc4u is domain aka re- source name .org is top-level domain
  4. *** Director It is a file system object that organizes data within the file system of a storage device
  5. *** File It is a collection of data stored in one unit, man- aged by the file system of a storage device.
  6. *** Folder Its purpose is to store doc- uments and organize data within the file system of a storage device.
  1. *** Path It defines the location of stored data within the file system of a storage device.
  2. *** Which folder contains the "page1.html" file? "my_dir/buffer" The "my_dir" folder is the par- ent of the "buffer" and "temporary" folders. A ref- erence to a file inside the "temporary" folder has this folder as a starting point.
  3. *** Example of HTML file with the following elements head (), title (), body (), heading (), and paragraph (

    )

  4. ** body { background-color: lightblue; } This is an example of CSS
  5. ** h1 { color: white; text-align: center; } This is example of CSS
  6. ** p { font-family: verdana; font-size: 20px; } This is an example of CSS

ident.
  1. **
Belgian Waffles $5.95 Two of our famous Belgian Waffles with plenty of real maple syrup 650 Example of XML 
  1. ** Markup language A language that provides text and graphics format- ting through the use of tags. Examples of markup languages include HTML, XML, and SGML. A struc- tured set of computer code elements that are as- sembled in a specific way, which provide the format- ting for how text and other web page features - a but- ton that a user may click, or a text field into which a user will enter content - will appear.

** 1. Open Notepad++ or similar pure text editor.

  1. Create a code snippet using proper XML structure. Use the example from earlier in the module to en- sure that you use proper structure and syntax in your code.
  2. Once complete, copy your code and paste in the text field, then click Submit.
  3. You will receive feedback on the content and struc- ture of the code you produced.
"Sedan" "SUV" "Light" "Heavy" 
  1. ** Which characteristic of XML indicates it is an exten- sible markup language? The set of XML tags is un- limited. XML is considered extensible because the set of possible tags is not lim- ited and the addition or removal of elements will likely not affect the pro- cessing of the XML file.
  2. ** Which two statements accurately describe the dif- ferences between HTML and XML?
  • HTML can tolerate sim- ple syntax mistakes, while XML does not accept any syntax mistakes.
  • HTML can tolerate sim- ple syntax mistakes, while XML does not accept any syntax mistakes.
  • , , , , , : the headings of the web page main text that follow specific text formatting and also pro- vide text structure
  • -

    : the paragraphs of the web page text that hold the regular text -
    : the single tag to create a line break (re- member that HTML does not take blank spaces or line breaks into account for display) -

    : a tag to display a change of context, usually displayed as a horizontal line - : a tag to modify the weight of text relative to surrounding text, which usually is equivalent to a bold font face 110. ** HTML comments HTML comment syntax is any text string that starts with the sequence . Anno- tations that are not re- quired by the browser, but

are useful to increase the readability for users.

  1. ** Codepen - a free coding environ- ment for basic use that allows you to test out JavaScript for mapping
- an online code editing workspace for testing and viewing working snippets of code. To begin, you must first set up a free ac- count at Codepen here. 
  1. ** Which HTML tag is used to indicate the first head- ing level in a web page?

  2. ** Which option indicates a correctly formatted com- ment for an HTML file?

  3. ** There are three different ways to insert CSS instruc- tions into the HTML code:

    • inline definition: defines the style attribute within each HTML tag
    • internal definition: de- fines styles within style tags in the header of an HTML file
    • external definition: de- fines styles in a separate file that is referred as a link in the header of an HTML file