WGU D276 Web Development Foundations
Study online at https://quizlet.com/_hv8814
1. What required <form> attribute specifies the manner in which the browser
will send form data to a web server?: Method
2. This required <form> attribute specifies the name and location of the CGI
script used to process the form: Action
3. What <form> method attribute value instructs the browser to append the
form data to the URL for use in a query string?: Get
4. What <form> method attribute value allows sending more characters and is
slightly more secure when submitting a Web-based form?: Post
5. In HTML, what is a container?: Part of a web document body that has opening and closing tags
6. In HTML, what is a parent container: A container in which another element resides
7. HTML elements that are containers: <footer>, <header>, <section>, and <span>
8. A block element with no semantic meaning: <div>
9. WHat type of HTML element fills the minimum space possible in the parent
container and can only contain text of other elements of this type?: Inline Element
10. Generic HTML element that creates inline containers to facilitate the manag-
ing content on a webpage. Has no semantic meaning: <span>
11. What types of elements can be insides a block element?: Inline and block elements
12. What types of elements can be insides an inline element?: Inline elements
13. What HTML element do we use to facilitate information gathering for sub-
mission to a server?: <form>
14. What HTML attribute should be used if a <form> field contains binary data
that the normal format of the query string is not sufficient to encode?: Enctype
15. Five primary attributes for a <input> element: id, name, type, value, placeholder
16. What is the <input> type attribute value of a text box widget?: text
17. Which HTML element should be used to produce a submit button widget in
form?: <input>
18. Which <input> attribute allows the input to start with a default value?: value
19. Which <input> attribute provides a hint to the user about the information
being requested?: placeholder
20. Which attribute inside the <label> element is used to associate the label with
a widget?: for
21. True of false? An <option> element must have a value attribute.: False
, WGU D276 Web Development Foundations
Study online at https://quizlet.com/_hv8814
22. Which element can create a button with an image?: <button>
23. Four <input> types that exist for entering specific types of text.: email, search, tel,
url
24. Audio formats supported by nearly all web browsers: AAC, MP3
25. Correct HTML for referring to an external style sheet: <link rel="stylesheet"
type="text/css" href="mystyle.css">
26. Where in an HTML document is the correct place to refer to an external style
sheet?: In the <head> section
27. Which HTML tag is used to define an internal style sheet?: <style>
28. Which HTML attribute is used to define inline styles?: style
29. Which is the correct CSS syntax?: body {color:black;}
30. How to insert CSS comment: /* this is a comment */
31. Which property is used to change the background color?: background-color
32. Property used to add a background color for <h1> elements?: h1 {background-col-
or:#FFFFFF;}
33. Which CSS property is used to change the text color of an element?: color
34. Which CSS property controls the text size?: font-size
35. CSS syntax that makes all the <p> elements bold: p {font-weight:bold;}
36. How do you display hyperlinks without an underline?: a {text-decorations:none;}
37. How do you make each word in a text start with a capital letter?: text-transform:cap-
italize
38. Which property is used to change the font of an element?: font-family
39. How to make the text bold: font-weight:bold;
40. How to display a border.: boder-width:top border, right, bottom, left (px)
41. How to change the left margin of an element.: margin-left
42. Can you use negative values when using the padding property?: No
43. How do you make a list that lists its' items with squares?: list-style-type: square;
44. How do you select an element with id 'demo'?: #demo
45. How do you select elements with class name 'test'?: .test
46. How do you select all p elements inside a div element?: div p
47. How do you group selectors?: Separate each selector with a comma
48. What is the default value of the position property?: static
, WGU D276 Web Development Foundations
Study online at https://quizlet.com/_hv8814
49. Correct HTML for adding a yellow background color?: <body style="background-col-
or:yellow;">
50. HTML element to define important text: <strong>
51. HTML element used to define emphasized text?: <em>
52. Correct HTML for creating a hyperlink: <a href="http://www.w3schools.com">W3Schools</a>
53. HTML used to open a link in a new tab/browser window.: <a href="url" target"_blank">
54. HTML <table> elements: <table>, <tr>, <td>
55. True or false? Inline elements are normally displayed without starting a new
line.: True
56. How to make a numbered list in HTML?: <ol>
57. How to make a bulleted list in HTML?: <ul>
58. What is the correct HTML for making a checkbox?: <input type="checkbox">
59. HTML for making a text input field?: <input type="text">
60. HTML for making a drop-down list?: <select>
61. HTML for creating a text area?: <input type="textbox">
62. HTML for inserting an image?: <img src="image.gif" alt="MyImage">
63. HTML for inserting a background image?: <body style="background-image:url(back-
ground.gif)">
64. True of false? An <iframe> is used to display a web page within a web
page.: True
65. True of false? Block elements are normally displayed without starting a new
line: False
66. HTML attribute that specifies an alternate text for an image if the image
cannot be displayed?: alt
67. Which doctype is correct for HTML5?: <!DOCTYPE html>
68. HTML element used to specify a footer: <footer>
69. True of false? In HTML, you can embed SVG elements directly into an HTML
page.: True
70. HTML element for playing video files?: <video>
71. HTML element for playing audio files?: <audio>
72. HTML global attribute, "contenteditable" is used to:: Specify whether the content of an
element should be editable or not
Study online at https://quizlet.com/_hv8814
1. What required <form> attribute specifies the manner in which the browser
will send form data to a web server?: Method
2. This required <form> attribute specifies the name and location of the CGI
script used to process the form: Action
3. What <form> method attribute value instructs the browser to append the
form data to the URL for use in a query string?: Get
4. What <form> method attribute value allows sending more characters and is
slightly more secure when submitting a Web-based form?: Post
5. In HTML, what is a container?: Part of a web document body that has opening and closing tags
6. In HTML, what is a parent container: A container in which another element resides
7. HTML elements that are containers: <footer>, <header>, <section>, and <span>
8. A block element with no semantic meaning: <div>
9. WHat type of HTML element fills the minimum space possible in the parent
container and can only contain text of other elements of this type?: Inline Element
10. Generic HTML element that creates inline containers to facilitate the manag-
ing content on a webpage. Has no semantic meaning: <span>
11. What types of elements can be insides a block element?: Inline and block elements
12. What types of elements can be insides an inline element?: Inline elements
13. What HTML element do we use to facilitate information gathering for sub-
mission to a server?: <form>
14. What HTML attribute should be used if a <form> field contains binary data
that the normal format of the query string is not sufficient to encode?: Enctype
15. Five primary attributes for a <input> element: id, name, type, value, placeholder
16. What is the <input> type attribute value of a text box widget?: text
17. Which HTML element should be used to produce a submit button widget in
form?: <input>
18. Which <input> attribute allows the input to start with a default value?: value
19. Which <input> attribute provides a hint to the user about the information
being requested?: placeholder
20. Which attribute inside the <label> element is used to associate the label with
a widget?: for
21. True of false? An <option> element must have a value attribute.: False
, WGU D276 Web Development Foundations
Study online at https://quizlet.com/_hv8814
22. Which element can create a button with an image?: <button>
23. Four <input> types that exist for entering specific types of text.: email, search, tel,
url
24. Audio formats supported by nearly all web browsers: AAC, MP3
25. Correct HTML for referring to an external style sheet: <link rel="stylesheet"
type="text/css" href="mystyle.css">
26. Where in an HTML document is the correct place to refer to an external style
sheet?: In the <head> section
27. Which HTML tag is used to define an internal style sheet?: <style>
28. Which HTML attribute is used to define inline styles?: style
29. Which is the correct CSS syntax?: body {color:black;}
30. How to insert CSS comment: /* this is a comment */
31. Which property is used to change the background color?: background-color
32. Property used to add a background color for <h1> elements?: h1 {background-col-
or:#FFFFFF;}
33. Which CSS property is used to change the text color of an element?: color
34. Which CSS property controls the text size?: font-size
35. CSS syntax that makes all the <p> elements bold: p {font-weight:bold;}
36. How do you display hyperlinks without an underline?: a {text-decorations:none;}
37. How do you make each word in a text start with a capital letter?: text-transform:cap-
italize
38. Which property is used to change the font of an element?: font-family
39. How to make the text bold: font-weight:bold;
40. How to display a border.: boder-width:top border, right, bottom, left (px)
41. How to change the left margin of an element.: margin-left
42. Can you use negative values when using the padding property?: No
43. How do you make a list that lists its' items with squares?: list-style-type: square;
44. How do you select an element with id 'demo'?: #demo
45. How do you select elements with class name 'test'?: .test
46. How do you select all p elements inside a div element?: div p
47. How do you group selectors?: Separate each selector with a comma
48. What is the default value of the position property?: static
, WGU D276 Web Development Foundations
Study online at https://quizlet.com/_hv8814
49. Correct HTML for adding a yellow background color?: <body style="background-col-
or:yellow;">
50. HTML element to define important text: <strong>
51. HTML element used to define emphasized text?: <em>
52. Correct HTML for creating a hyperlink: <a href="http://www.w3schools.com">W3Schools</a>
53. HTML used to open a link in a new tab/browser window.: <a href="url" target"_blank">
54. HTML <table> elements: <table>, <tr>, <td>
55. True or false? Inline elements are normally displayed without starting a new
line.: True
56. How to make a numbered list in HTML?: <ol>
57. How to make a bulleted list in HTML?: <ul>
58. What is the correct HTML for making a checkbox?: <input type="checkbox">
59. HTML for making a text input field?: <input type="text">
60. HTML for making a drop-down list?: <select>
61. HTML for creating a text area?: <input type="textbox">
62. HTML for inserting an image?: <img src="image.gif" alt="MyImage">
63. HTML for inserting a background image?: <body style="background-image:url(back-
ground.gif)">
64. True of false? An <iframe> is used to display a web page within a web
page.: True
65. True of false? Block elements are normally displayed without starting a new
line: False
66. HTML attribute that specifies an alternate text for an image if the image
cannot be displayed?: alt
67. Which doctype is correct for HTML5?: <!DOCTYPE html>
68. HTML element used to specify a footer: <footer>
69. True of false? In HTML, you can embed SVG elements directly into an HTML
page.: True
70. HTML element for playing video files?: <video>
71. HTML element for playing audio files?: <audio>
72. HTML global attribute, "contenteditable" is used to:: Specify whether the content of an
element should be editable or not