Web Development and Design Foundations with HTML5 (8th Edition)
Web Development and Design Foundations with HTML5 (8th Edition)
8th Edition
ISBN: 9780134322759
Author: Terry Felke-Morris
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 14, Problem 2HOE

a)

Program Plan Intro

Program Plan:

  • Include the basic tags for the html web page.
    • Include the script tag using “<script>” and access the jQuery using the link “https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”.
      • Inside the script define the “ready()” function to manipulate selector statement.
      • To select all anchor tags in the main element use “$(‘main a’)” and mention the method for the query.
    • Close the script tag using “</script>”.
      • Open the body tag using “<body>”.
      • Include the necessary anchor tags and button tag inside the main tag “<main>”.
    • Close the body tag using “</body>”.
  • Close the file using “</html>” tag.

b)

Program Plan Intro

Program Plan:

  • Include the basic tags for the html web page.
    • Include the script tag using “<script>” and access the jQuery using the link “https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”.
      • Inside the script define the “ready()” function to manipulate selector statement.
      • To select first division tag in HTML document, use the selector   “$(‘div:first’)” statement.
    • Close the script tag using “</script>”.
      • Open the body tag using “<body>”.
      • Include the necessary division tags and button tag.
    • Close the body tag using “</body>”.
  • Close the file using “</html>” tag.

Blurred answer
Students have asked these similar questions
Computer Science Write a webpage that creates a game of dice using only HTML and JavaScript. The code should make use of the HTML <canvas> element. The webpage should inform the user of the rules of the game.
Design  HTML Form in javascriptApply the data validation :1. Mobile number field data must be a numeric data and not less than 8 digits,2. The email field must accept the data which must contain the character '@' and dot (.). Andthe character @ must not be the first character and the last dot must at least be onecharacter after the @.On submitting the form, If all these validations are followed, another Html page.
Design HTML Form.javascraptApply the data validation as follows:1. Mobile number field data must be a numeric data and not less than 8 digits,2. The email field must accept the data which must contain the character '@' and dot (.). Andthe character @ must not be the first character and the last dot must at least be onecharacter after the @.On submitting the form, If all these validations are followed, another HTML page (value of theaction attribute of the above HTML page) must be displayed your data is submitted successfully.
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning