Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
Web Development and Design Foundations with HTML5 (9th Edition) (What's New in Computer Science)
9th Edition
ISBN: 9780134801346
Author: FELKE-MORRIS
Publisher: PEARSON
bartleby

Concept explainers

Question
Book Icon
Chapter 14, Problem 4HOE
Program Plan Intro

Program Plan:

  • Include the HTML tag using “<html>”.
    • Include the heading tag using “<head>”.
      • Open the title tag using “<title>” with appropriate title and close the tag.
      • Open the script tag using “<script>”.
        • Inside the script tag, declare the variables “name” and “age” to get inputs from user.
        • Prompt the user to get name and store it in “name” variable.
        • Prompt the user for age and store it in “age” variable.
        • Display the message with name and age using “alert” box.
      • Close the script tag using “</script>”.
  • Close the file using “</html>” tag.

Blurred answer
Students have asked these similar questions
Can we obtain a more in-depth explanation of the HTML post and get methods somewhere? If that's the case, why not?
in javascript Create a function that will load a new image from the website https://cataas.com/cat every 10 seconds, and will stop this interval when the SPACEBAR is pressed.
Write an Javascript inside a html file for ... and please don't do it at very high level: A client has bought n-number of products, some new and used products at Best Buy. Some were made in Canada others in The USA and the tax payment method is the following: COUNTRY STATUS TAX Canada New 8% Canada Old 2% USA New 24% USA Old 12%   Write a program that shows the product’s name, net price, country of origin and status.
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
    Microsoft Visual C#
    Computer Science
    ISBN:9781337102100
    Author:Joyce, Farrell.
    Publisher:Cengage Learning,
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,