Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(Laying Out Book Pages in HTML5: Creating the Sections) Mark Up the paragraph text from section 3.2.1 of this chapter as a web page using

(Laying Out Book Pages in HTML5: Creating the Sections) Mark Up the paragraph text from section 3.2.1 of this chapter as a web page using page-structure elements. The text is provided in the exerciseTextAndImages folder with this chapters examples. Do not include the figures in this exercise.

(3.2.1 text)

Program Plan: image text in transcribed

Create a HTML file for the following:

Applying section element without figures on the chapter 3.2.1

Use of page structure element.

Use of mark--- up paragraph

3.2.1 input Type color The color input type (Fig. 3.1; lines 20-21) enables the user to enter a color. Opera displays a color picker control that shows the default color (black) with a down arrow that, when clicked, shows a drop-down with 20 basic colors (Fig. 3.2). The user can select a color or click the Other... button to select from additional basic colors or create a custom color. At the time of this writing, most browsers render the color input type as a text field in which the user can enter a hexadecimal code. autofocus Attribute The autofocus attribute (Fig. 3.1; line 20-an optional attribute that can be used in only one input element on a form automatically gives the focus to the input element, allowing the user to begin typing in that element immediate. Figure 3.3 shows autofocus on the color element the first input element in our form as rendered in Chrome. You do not need to include autofocus in your forms. Traditionally it's been difficult to validate user input, such as ensuring that an e-mail address, URL, date or time is entered in the proper format. The new HTML 5 input types are self validating on the client side, eliminating the need to add complicated Java Script code to your web pages to validate user input, reducing the amount of invalid data submitted and consequently reducing Internet traffic between the server and the client to correct invalid input. The server should still validate all user input. When a user enters data into a form then submits the form (in this example, by clicking the Submit button), the browser immediately checks the self-validating elements to ensure that the data is correct. For example, if a user enters an incorrect hexadecimal color value when using a browser that renders the color elements as a text field (e.g., Chrome), a callout pointing to the element will appear, indicating that an invalid value was entered (Fig. 3.4). Figure 3.5 lists each of the new HTML5 input types and provides examples of the proper formats required for each type of data to be valid

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

If Q = 2K 3 + 3L 2 K, show that K(MP K ) + L(MP L ) = 3Q.

Answered: 1 week ago

Question

What are the objectives of job evaluation ?

Answered: 1 week ago

Question

Write a note on job design.

Answered: 1 week ago

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

1. What is the origin of the communication discipline?

Answered: 1 week ago

Question

2. What methods do communication scholars use to conduct research?

Answered: 1 week ago