Lecture 10 Advanced CSS3 features- Animation Lab Exercise 1 Design a web page with a element of width 75 pixels, height 75 pixels and green color background. When the page is loaded, the background color of the element must change from green to yellow. The animation must be completed within 3 seconds. When the animation is finished, the tag must change back to its original style.
Q: Display And Visibility Properties Are Used To Hide And Show Elements In Any Page. Then How
A: Given Display And Visibility Properties Are Used To Hide And Show Elements In Any Page. Then How…
Q: Q. In Visual basics the background color of a Web page is determined by the ______ property
A: We can set the background color, text color, and many more of a web page in visual basics using many…
Q: Create these Layout in CSS, you can use div tag in html (Table tag is not allowed). Write your CsS…
A: Adjust the sizes if necessary: <html><head><style type="text/css">…
Q: HTML/CSS JAVASCRIPT please help me answer this question I will give you a good rating Thank you!…
A: <! DOCTYPE html><html><head><link rel= "stylesheet" href=…
Q: Part 1: Create an HTML File Create an HTML file index.html. The HTML page should contain the…
A: HTML -Hyper Text Markup Language HTML is used to create webpages. CSS - Cascading Style Sheets CSS…
Q: Create a web page that contains three buttons and two images. To meet the requirements follow the…
A: code:-- <!DOCTYPE html><html><head><meta name="viewport"…
Q: Write html code for the given image. Create a div having background-color= red. %3D Color Should be…
A: The Answer is in Below steps
Q: Create a web page that contains three buttons and two images. To meet the requirements follow the…
A: Required: Create a web page that contains three buttons and two images. To meet the requirements…
Q: Write html code for the given image. Create a div having background-color= red. Color Should be Red.
A: Given: Image having a div with text="Color Should be Red". Background-color is red. Solution- Apply…
Q: TRUE OR FALSE If div containers are placed in fixed positions (position:fixed;} on a web page…
A: Note: As you have asked a multipart question, as per our policy, we will solve the first three parts…
Q: HTML/CSS JAVASCRIPT please help me answer this question I will give you a good rating Thank you!…
A: 1. When the button is clicked, the text written in the text box is copied to the id "p1" and the…
Q: Strings can be processed and parsed one character at a time in javascript statements either by…
A: Java is a programming language. It contains extensive libraries (package). It can be used to create…
Q: In CSS, "id" attribute in the tags is used to: Select one: a. To divide the webpage into more than…
A: Option (b) is correct. b. To give the same tag different styles
Q: code in html javascript and css to calculate the length of a supermarket line in a specific…
A: It is defined as a lightweight, interpreted programming language. It is designed for creating…
Q: TRUE OR FALSE this.innerHTML when employed for accessing an HTML element must be preceded by a…
A: InnerHTML: It supports all kinds of browsers to run the html file. innerHTML is an unique DOM…
Q: Design a web page to display the following output, your web page must have the following…
A: HTML File: <!DOCTYPE html><html><head><meta name="viewport"…
Q: .Code HTML and CSS for the following: Place three images inside the display area of your web page.…
A: <!DOCTYPE html><html> <head> <style> .imgA { display: flex; flex-wrap:…
Q: sample code: Boxes .box { display: flex; float: left; width: 100px;
A: The below is the code of the following program.
Q: CSS3 allows web developers to use many columns in a single web page by employing ... O a.…
A: Note: we are only allowed to solve one question in one post. I am solving the first on here. To get…
Q: Write an HTML program to design the following table in your web page HTML CSS HTML Item Your Score…
A: A web writer has the facility to arrange data in the form of rows and columns which could contain…
Q: In CSS, a:hover means: Select one: O a. A link when a users' mouse cursor is under it O b. A link…
A: :hover selector is used to select elements when you mouse over them. a:hover - a link when users…
Q: 1. Write the CSS for an HTML selector footer with the following characteristics: a light-blue…
A: According to our guidelines, we are allowed to solve only the first question. Please post the other…
Q: how could i make the submit ,average and reset button all disable until i enter a number between…
A: The fixed HTML and JavaScript codes are given below.
Q: Consider the following HTML with associated CSS: #container { width: 400px; } #inner { padding:…
A: Please refer below for your reference: The container is of 400px and 50% of it is 400/2=200px;
Q: The correct way to hide an HTML element using CSS is display:inline; display:empty; display:none; O…
A: Answer to the above question of hiding the HTML tag using CSS is in step2.
Q: Describe a CSS element that would repeat an image in the background only along the Y axis
A: INTRODUCTION: Background pictures are repeated according to the background-repeat CSS property. A…
Q: could you please help this program how An appealing user interface with an interactive CSS design,…
A: could you please help this program how An appealing user interface with an interactive CSS design,…
Q: Write a HTML and CSS code to develop a Virtual tour for a multi-specialty hospital. Hospital image…
A: <!DOCTYPE html><html><head><style> div.a{text-transform: capitalize}table…
Q: Use HTML/CSS/JavaScript to build a textbox that accepts a maximum of ten lower-case alphabetic…
A: Code to accept maximum of ten lower-case alphabetic characters as follows :
Q: f multiple CSS rules apply to an HTML element, which one takes precedence and is rendered by the…
A: If multiple CSS rules apply to an HTML element, the last one that applies takes precedence and is…
Q: Create a web page that contains three buttons and two images. To meet the requirements follow the…
A: we will simply used show() and hide() functions of jQuery to do the task 1 and 2. You will found…
Q: The CSS box model is a box that wraps around HTML elements that consists of: Seloot onoi
A: The right option is d. All are true as css box model is consist of content - padding - border -…
Q: The homepage serves as an introduction to the entire website, where the purpose of this website can…
A: HTML <!DOCTYPE html><html><head><meta http-equiv="Content-Type"…
Q: HTML5 I have created page "Index" that includes a form from html page"ChestAndBack" On the html…
A: The tags are addition in the HTML5, two main tags which are used in HTML5 are audio tag and video…
Q: The attribute used to define the inline CSS is: O a. class O b. style О с. styles O d. align
A: Inline css uses the style attribute inside HTML elements.
Q: Lab Exercise 4 Using CSS apply LEFT-ALIGNMENT and BLUE text color to all elements in a web page Try…
A: div.b { text-align: left; color: Blue;} screenshot
Q: Q2 Design a web page (name it q2.html), which uses Bootstrap framework, to display the following…
A: As per our guidelines, we are supposed to answer only one question. Kindly repost the remaining…
Q: You are required to design HTML page based on the following descriptions: Create tag to display…
A: 1.) h1 tag : The h1 tag is used in HTML to define webpage headings. 2.) hr tag : The hr tag is used…
Q: 1. When the user clicks on a picture and it opens a window containing a zoomed version of the image,…
A: first.html<html><body><div><header><h1>Gallery</h1><style>…
Q: JavaScript & jQuery - Chapter 5: Document Object Model - Example List…
A: Code: <!DOCTYPE html><html lang="en"> <head> <title>JavaScript &amp;…
Q: Write HTML Code to design the web page as shown here. HTML Code must be neat and clean. Also define…
A: Index.html <html> <head> <title>Website</title> <link…
Q: If div containers are placed in fixed positions (position:fixed;} on a web page their placement…
A: While doing programming in any programming language, you need to use various variables to store…
Q: Write the HTML, CSS, and JS that meets the following requirements: Make the font size 20 points.…
A: Actually, CSS stands for Cascading Style Sheet...
Q: Use HTML/CSS/JavaScript to build a textbox that accepts a maximum of ten lower-case alphabetic…
A: <html lang="en"> <head> <meta name="viewport" content="width=1080,…
Q: The HTML must contain JavaScript that displays the following: An interaction that prompts for the…
A: Please find the answer below
Q: HTML/CSS JAVASCRIPT please help me answer this question I will give you a good rating Thank you!…
A: 1. True 2. True 3. False
Q: 9.Write the CSS style rule to display an image that is fixed in position and is placed at 125 pixels…
A: The answer is given in the below step
Q: structions Follow the Instructions to prepare an HTML page as shown belo ng 1 (Blue color using dded…
A: HTML CODE: <!DOCTYPE html><html> <head> <style> h1{color:…
Q: sing Javascript Write a page that displays a balloon (using the balloon emoji, ?). When you press…
A: required: a page that displays a balloon (using the balloon emoji, ?). When you press the up arrow,…
Step by step
Solved in 3 steps with 1 images
- Create a styles.css page and add the following styles? H1 Background color: #f03Border on the bottom with the following rules Width: thin Style: solid Color: #003 Centered textMargin on all sides: 35 pixels H2 Text color: #333, bold p Font: GeorgiaText color: #030Padding of 15 pixels on all sides li Font family: ArialBackground color: grayText color: black, boldText size: 18 points a Color for all hyperlinks: Dark red: #CC0000 Rollover color for all hyperlinks: Dark green: #060 One additional style of your choiceCreate another new text file and write the following codes. <html> <head> <link rel="stylesheet" type="text/css" href="test.css" /> </head> <body> <h3> A White Header </h3> <p> This paragraph has a blue font. The background color of this page is gray because we changed it with CSS! </p> </body> </html> Save this file with name MyExternalCSSdemo.html (Run and see the effect.) Create a new folder name – Tutorial -5 Create a two text file inside this folder and name – Tutorial -5.txt for HTML page and ExternalCSS.txt for CSS file Open Tutorial -5.txt as a sublime text (by right click on it) Following tasks to be completed to develop a web page using external CSS. 1. Create an External CSS which should have background colour ‘white’, Header H1 colour ‘black’ and paragraph colour ‘Red’ 2. Web page should have…HTML/CSS: Need help in creating a sidebar header canvas for the love and hate buttons. Below are the codes and attached is image of how the sidebar header canvas must look like. Make sure to involve the correct code with the output: index.html: <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <link rel="stylesheet" href="style.css"> </head> <body> <h1>Summer School</h1> <ulclass="content home"> <li><a href="/index.html" >Summer School Info</a></li> <li><a href="/summerschool.html">Mainpage</a></li> </ul> </body> </html> summerschool.html: <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,…
- Open your text editor: Please complete this code in HTML create a new file and name it “Lec_Ex4_2.html” create a new file and name it “style_2.css” Type the 8 lines in the html(basic html structure). Add this line to the head section of html: Write these lines in the body of the html: <div id=“title”><h1>Your name</h1></div> <div id=“container1”> . </div> Style it in the CSS: #title{ background-color:blue;} #container1 {background-color:red;} If we don’t specify the width of the div element,it will take up the full width available. We can specify the width and height of the divusing percentages or pixels. Percentages are flexible (changes according tothe screen size), and pixels are fixed. Add the following property to both divs: Width:80%; This is comparing to the full screen For the title div: Padding:2%; For the container div: Height: 400px; Height can also be made with percentages, butpixels are preferred. Your…Write one CSS rule for the following task: Style an article element so that: its padding is 32px, its width, including padding, is one third of its parent container width, float it to the right side of the screen. Write one CSS rule for the following task: Style a footer element so that: it clears any prior floating elements, its width is 90% of its parent container width, its width is but no smaller than 768px, its width is no bigger than 1024px, centre the footer horizontally, regardless of the screen size. Write the HTML for: The footer of a page that includes an image with the following source https://learndigital.dev/DGL103/logo.png; The image must link to the homepage of the website when clicked on; The image must include descriptive text that screen readers can access; The image must be 160px tall and wide. Write a CSS style so that the footer (DON'T include more CSS than you need to): has a background colour. has a height of 300px. Use 2 different methods to move…<!DOCTYPE html><html><head><style>p {font-family: arial; font-size: 20px;} </style></head><body> <button onclick='buyApple()'>Purchase Appple</button><button onclick='buyOrange()'>Purchase Orange</button> <!-- This marks space for a paragraph that we can update during the program --><p id="balance"></p> <script>// javascript code begin// Step 1. initialize variables:change=100 // starting balanceapple=10 // price of 1 appleorange=20 // price of 1 orangetortilla=30 // price of 1 tortillafoundMoney=25 // pretend found $25// initialize the user-interface when this page loads:document.getElementById("balance").innerHTML = "$"+change;// Step 2. define event functions for each buttonfunction buyApple(){change -= apple;document.getElementById("balance").innerHTML = "$"+change;}function buyOrange(){change -= orange;document.getElementById("balance").innerHTML = "$"+change;}// Make 2 more functions here,…
- Write an appropriate HTML code to get the following output: Title: Lab Exercise Five Background color: DarksalmonHeading style (Heading 2): Background color = Ghostwhite; Font type = Verdana; Font align = Center; Font color = Black Table style: Border 5px; solid white; collapse; width = 100% Table Headings: Beverages; Coffee; Tea; JuicesCoffee (unordered list): Black Coffee; Milk Coffee; Cappucino; EspressoTea (ordered list): Black Tea; Milk Tea; Green Tea; Earl Grey Tea; Jasmine Tea; Peppermint TeaJuices (description list): Morning Green Juice (Green Apple, Ginger, Spinach, Celery, Fresh Mint Leaves); Sweet Sunrise (Rasberries, Banana, Orange, Mango); Tropical Treat (Banana, Mango, Strawberry).4.4 Write a CSS rule that places a background image halfway down the page, tiling it horizon- tally. The image should remain in place when the user scrolls up or down.4.5 Write a CSS rule that gives all h1 and h2 elements a padding of 0.5 ems, a dashed border style and a margin of 0.5 ems.4.6 Write a CSS rule that changes the color of all elements containing attribute class = "greenMove" to green and shifts them down 25 pixels and right 15 pixels.Independent Challenge 4 – ExploreAs you continue your work creating the website for Eating Well in Season, a local food delivery company, you customize thedesign’s fonts and colors.a. In your editor, open HTM_E-11.html from the IC4 folder where you store your Data Files for this unit, save it asindex.html, open HTM_E-12.css, then save it as styles.css.b. In the first comment section in each file, add your first and last names and today’s date where indicated, then saveyour changes to both files.c. Use google.com/fonts to locate the font named Alegreya Sans, choose the Normal 400 style, then copy the linkelementfor the font’s stylesheet to the Clipboardd. Return to index.html in your editor, paste the link element just before the link element for your stylesheet, thensave your changes.e. Return to styles.css in your editor, then in the body and page container section (the code following the body andpage container comment), create a style rule that sets the font family for the body…
- PLEASE HELP ME TO FIX THIS. THIS HAS TO BE THE SAME TO THE IMAGE UPLOADED. I CHANGE THE COLORS <!doctype html><html><head><meta charset="UTF-8"><title>"The Bean Counter"</title> <style type="text/css"> body { background-color : blue; color : silver; font-family : helvetica; text-align : center} hr {width: 25%; color: blue;} h1 {color : white;} section {margin-left: auto; margin-right : auto; text-align : center; background-color: #4169E1; border-style : solid; border-color : MidnightBlue; border-width: medium; padding : 8px;} .drinkBtn {width 110px;} .otherBtn {width: 60px;} .total {border: solid black;} </style></head><body><h1>"The Bean Counter"</h1> <hr/> <p><b>Figuring the price of espresso drinks<br/> so baristas can have time to chat!</b></p> <br/><section…Use the given code to answer the following questions: External.css label { color: darkgray; } home. Html <header> <link ref “stylesheet” type”text/css” href= “external .css” <style> Label { Color: darkblue; } </style> </header> <body style=”color: darkred;”> <p> <input type “checkbox” name =”chkOrange” <label style “color: darkcyan;” for = “chkOrange”>Oranges</label> </p> </body> Which color is shown for the < label> tag? Darkred Darkcyan Darkgray DarkblueCreate a CSS file youName.css and link it to the HTML file you created earlier in Part 1. The results after filling the styles should be as shown in the image below. NOTE 1: Add classes and ids as you find suitable in the HTML file. NOTE 2: Any style that is not specified, may be specified as you wish (like margins, paddings …). NOTE 3: The width of the <body> is 700px and the font-family is “Arial”. after finsih it must be as the image