Intro to internet applications com-340-dl01 programming exercise 1
Intro to internet applications com-340-dl01 programming exercise 1.
2.3 Use HTML5 to create a document that contains the following text:
Internet and World Wide Web How to Program: Fifth Edition Welcome to the world of Internet programming. We have provided coverage for many Internet-related topics.
Use h1 for the title (the first line of text), p for text (the second and third lines of text). Insert a horizontal rule between the h1 element and
2.8 Create an HTML5 document that contains links to your five favorite daily deals websites
(possibly Groupon, Living Social, etc.). Your page should contain the heading “My Favorite Daily Deals Web Sites.” Click on each of these links to test your page.
3.5 Write an HTML5 element (or elements) to accomplish each of the following tasks:
a) Students were asked to rate the food in the cafeteria on a scale of 1 to 10. Use a meter element with text to its left and right to indicate that the average rating was 7 out of 10.
b) Create a details element that displays the summary text “Survey Results” for Part (a).When the user clicks the arrow next to the summary text, an explanatory paragraph about the survey should be displayed.
c) Create a text input element for a first name. The element should automatically receive
the focus when the form is rendered in a browser.
d) Modify Part (c) to eliminate the label element and use placeholder text in the input element.
e) Use a datalist to provide an autocomplete list for five states.
f) Create a range input element that allows the user to select a number from 1 to 100.
g) Specify that autocomplete should not be allowed for a form. Show only the form’s opening tag.
h) Use a mark element to highlight the second sentence in the following paragraph. <p>Students were asked to rate the food in the cafeteria on a scale of 1 to 10. The average result was 7.</p>
3.6 (Website Registration Form with Optional Survey) Create a website registration form to obtain a user’s first name, last name and e-mail address. In addition, include an optional survey question that asks the user’s year in college (e.g., Freshman). Place the optional survey question in a details element that the user can expand to see the question.