Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Question
Chapter 6, Problem 2HOE
Program Plan Intro
- Include the style tag using “<style>” for internal style.
- Set the id named “notice” with following style attributes.
- Set the “width” property as “80%”.
- Set the “margin-left” as “auto” and “margin-right” as “auto”
- Set the id named “notice” with following style attributes.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
A(n) _________________ is a classification of an element based on its status or use.
A) pseudo-class
B) attribute
C) block-level element
D) tag
In CSS, the ____________ attribute must be unique in a file.
A) class
B) div
C) id
D) span
____________________ refers to the amount of space between the element and its
border.
A) Margin
B) Padding
C) Scroll bar
D) Heading
Create a HTML and CSS file of the given picture. Ensure that the interface will satisfy the given picture.Note: Once view button was clicked, another html file will pop up as shown in 2nd picture.
Use jquery css. Don't put incorrect attach as.
Chapter 6 Solutions
Basics of Web Design: Html5 & Css3
Knowledge Booster
Similar questions
- Create a CSS rule that would make all unordered lists (tags) have circle bullets, green background, and white text color.arrow_forwardWrite an HTML, CSS & JavaSript codes to produce Contact Form as captured below.Please make sure: 6. “Calculate” button should provide the result of total amount and result of tax exemption eligibility.arrow_forwardIs it true or false The "margin" CSS attribute defines the space outside the element's border.arrow_forward
- Instruction : Please add some css on the alert boxes. Change the color. Thank you! The HTML code with javascript is already provided. You just need to customize the alert prompt. Thanks! CODE: <!DOCTYPE html> <html lang="en"> <head> <title>Applying Javascript in HTML</title> <script> function userPrompt() { var lastName = prompt("Enter your Last name:"); var firstName = prompt("Enter your First name:"); alert("Hello " + lastName + ", " + firstName + "!"); const number1 = parseInt(prompt("Enter your 1st number:")); const number2 = parseInt(prompt("Enter your 2nd number:")); const sum = number1 + number2; alert("The sum is: " + sum); confirm(lastName + ", " + firstName + " you have added the numbers: " + number1 + " & " + number2 + " and got the sum: " + sum + "."); } </script> </head> <body onload='userPrompt()'>…arrow_forwardwrite a CSS style rule to set up a linear gradient background based on the following requirements: it is for a class named peterthe direction of the linear gradient is to be from right to left and must be represented by degreesthe starting colour must be red and presented in the RGB formatthe ending colour must be blue and presented in hexadecimal formatarrow_forwardI believe I am close to having this correct but would like to check. Write the CSS to configure a grid for an id named container that has two columns and two rows. The first row is 100 pixels high. The first grid item in the second row takes up 75% of the width.arrow_forward
- If your CSS does not set the width and height of an element, how is the width and height of that element determined?arrow_forwardYou have a division with an ID = 'div0'. What JavaScript statement would allow you to change the CSS background color of that particular division to green? document.getElementById('div0').style.background-color='green'; document.getElementByName('div').backgroundColor='green'; document.getElementById('div0').style.backgroundColor='green'; document.getElementByClassname('div0').style.backgroundColor='green';arrow_forwardFor the following HTML, we want the header to turn red when the button is clicked. Pick the right option to achieve that result Index.html File Content: <body> <h1 id="myId" class="myClass">Heading</h1> <!-- pick the right button code below --> </body> a.<button onclick='document.getElementById("myClass").style.color="red";'>Change</button> b.<button onclick='document.getElementById("myId").style(color:"red");'>Change</button> c.<button onclick='document.getElementsById("myId")[0].style.color="red";'>Change</button> d.<button onclick='document.getElementsByClassName("myId").Color("red");'>Change</button> e.<button onclick='document.getElementsByClassName("myClass")[0].style.color="red";'>Change</button> pls fast answerarrow_forward
- Create a simple Login page with User ID and Password fields () and a login button. Create a JavaScript function that will check if user id and password are empty. The function will not allow the form to be submitted to the server if any field is empty.arrow_forwardI need this assignment solved. Below I've attached the index.hmtl and styles.cssarrow_forwardThe CSS __________________ property can beused to configure the color and width of a tableborder.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage