Computer Science > QUESTIONS & ANSWERS > Web Development Final Exam (answered 100% correct) (All)
What is the CSS to center all <h1> headings using a width 80%? - ANSWER h1{margin: auto; width:80%} Which HTML tag is used to define an internal style sheet? - ANSWER <style> How do insert a com... ment in CSS? - ANSWER /*this is a comment*/ Which property is used to change the background color? - ANSWER background-color: What is the correct HTML for referring to an external style sheet? - ANSWER <link rel="stylesheet" type="text/css" href="mystyle.css"> How do you add a background color to all <h1> elements? - ANSWER h1{background-color:#FFFFFF} What is the code to change the text color of an element? - ANSWER color: Where in an HTML document is the correct place to refer to an external style sheet? - ANSWER <head> section What CSS property controls the text size? - ANSWER font-size: What is the correct CSS syntax for making all the <p> elements bold? - ANSWER p{font-weight: bold} What is the inline style to make an element centered? - ANSWER style="text-align: center" Choose the correct HTML tag for the largest heading. - ANSWER <h1> What are the 3 ways to insert CSS into your HTML document? - ANSWER Internal, External, Inline What symbol has to start an ID tag in CSS? - ANSWER # What does CSS stand for? - ANSWER Cascading Style Sheet What symbol has to start a class tag in CSS? - ANSWER .(period) What does HTML stand for? - ANSWER Hyper Text Markup Language What is the tag for inserting a break line? - ANSWER <br> What is the correct code to add red as the background color? - ANSWER <body style="background-color: red"> What is the correct code for creating a hyperlink to a www.w3schools.com - ANSWER <a href="http://www.w3schools.com">W3Schools</a> What is the correct code to open www.google.com in a new window? - ANSWER <a href=www.google.com target="_blank"> Identify 3 tags relating to tables. - ANSWER <table><tr><td> What is the correct tag to make a list with numbers? - ANSWER <ol> What is the tag to create a list with bullets? - ANSWER <ul> What is the correct HTML for making a checkbox? - ANSWER <input type="checkbox"> What is the correct HTML for inserting an image? - ANSWER <img src="image.gif" alt="my picture"/> Between what two tags make the content visible? - ANSWER <body></body> Who makes the web standards? - ANSWER World Wide Web Consortium What is the tag for a paragraph? - ANSWER <p> What is the correct DocType for HTML5? - ANSWER <!DOCTYPE html> Inside which HTML element do we put Javascript? - ANSWER <script> What is the smallest heading tag? - ANSWER <h6> What is the correct syntax for referring to an external script called "majava.js"? - ANSWER <script type="text/javascript" src="myjava.js"> What is the correct JavaScript syntax to write "hello world"? - ANSWER document.write("Hello World") Where is the correct place to insert Javascript? - ANSWER <head> & <body> How do you write "Hello World" in an alert box? - ANSWER alert("Hello World") What is the code to add a single line comment in JavaScript? - ANSWER //single line Which one is the correct way to type a conditional statement for executing some code if "I" is NOT equal to 5? - ANSWER if(i!=5) How do you write a conditional statement for executing some code if "I" is equal to 5? - ANSWER if(i==5) What is the code to put a message in the browser's status bar? - ANSWER window.status="message" Script Tag is not needed on an external script page? - ANSWER true HTML 5 is less strict than previous versions of HTML or XHTML. - ANSWER true HTML is not case sensitive - ANSWER true Javascript is case sensitive - ANSWER true [Show More]
Last updated: 1 year ago
Preview 1 out of 3 pages
Connected school, study & course
About the document
Uploaded On
Jul 12, 2022
Number of pages
3
Written in
This document has been written for:
Uploaded
Jul 12, 2022
Downloads
0
Views
33
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·