Docsity

HTML, CSS, and JavaScript Exam Questions and Answers, Exams of Advanced Education

Toggle sidebar
bg1
EXAM 2 - HTML, CSS, JAVASCRIPT
QUESTIONS AND ANSWERS
HTML (does/does not) have instructions on what a program should do. - Correct
Answers -does not
HTML describes __________________________________________
______________________________________. - Correct Answers -how the document
should look
HTML stands for... - Correct Answers -hypertext markup language
Tags - Correct Answers -abbreviations enclosed in angle brackets
Bold text tags - Correct Answers -<b> </b>
Italics text tags - Correct Answers -<i> </i>
Paragraph tags - Correct Answers -<p> </p>
Tags are ___________. - Correct Answers -nestable
Horizontal line tag - Correct Answers -<hr />
Next line tag - Correct Answers -<br />
HTML 5 tags required for every webpage - Correct Answers -<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
What part of the html document does the title tag belong? - Correct Answers -head
pf3
pf4
pf5

Partial preview of the text

Download HTML, CSS, and JavaScript Exam Questions and Answers and more Exams Advanced Education in PDF only on Docsity!

EXAM 2 - HTML, CSS, JAVASCRIPT

QUESTIONS AND ANSWERS

HTML (does/does not) have instructions on what a program should do. - Correct Answers -does not HTML describes __________________________________________ ______________________________________. - Correct Answers -how the document should look HTML stands for... - Correct Answers -hypertext markup language Tags - Correct Answers -abbreviations enclosed in angle brackets Bold text tags - Correct Answers - Italics text tags - Correct Answers - Paragraph tags - Correct Answers -

Tags are ___________. - Correct Answers -nestable Horizontal line tag - Correct Answers - Next line tag - Correct Answers -
HTML 5 tags required for every webpage - Correct Answers -

What part of the html document does the title tag belong? - Correct Answers -head

Where does the title show on the webpage? - Correct Answers -title bar of the web browser What required HTML tags go within the head section? - Correct Answers - Title What two programs are required to write and display HTML code? - Correct Answers - text editor and browser WYSIWYG word processor example - Correct Answers -microsoft word Text editors do not include ____________. - Correct Answers -rich text format Browsers want web pages written in _____________ characters only. - Correct Answers -ASCII HTML is written in structured format which makes it..... - Correct Answers -easier for people to understand List heading text styles from least strong to the most bold - Correct Answers -

When should you use scripting languages? - Correct Answers -GUI's, application is to be implemented across platforms, application will change rapidly over time When should I not use scripting? - Correct Answers -when code includes complex algorithms, code deals with large data sets, or application is made up of several established functions that will not be changing over time Javascript is different from C in the sense that it is __________________ not compiled.

  • Correct Answers -interpreted What determines the width of a line of text? - Correct Answers -width of the browser window What tag allows white space to be shown? - Correct Answers - what is the syntax for the name and value of an attribute of a tag? - Correct Answers - name="value" What does the escape character < display? - Correct Answers -< What does the escape character > display? - Correct Answers ->

What does the alt value specify in an img tag? - Correct Answers -alternative form for the image like a text description to assist persons who are visually impaired Is the alt attribute required for an image tag? - Correct Answers -yes How would you change the size of an image within the img tag? - Correct Answers - using only one of the attributes height or width CSS stands for... - Correct Answers -cascading style sheets CSS is used to... - Correct Answers -override html formats A style sheet is a ________________________


___________________. - Correct Answers -syntactic mechanism for specifying style information Benefits of CSS - Correct Answers -separates design from content, facilitates modularity of styles in webpage documents, and contributes to consistency in webpage styles Inline Style Sheets - Correct Answers -appears in the tag itself and is a fine-grain style which defeats the purpose of style sheets Document-level Style Sheets - Correct Answers -appears in the head of the document and applies to the whole document External Style Sheets - Correct Answers -In separate file and linked into the html document with a tag Classes in CSS allows us to..... - Correct Answers -define multiple styles for the same selector definition list tags - Correct Answers -

HTML forms - Correct Answers -allow the programmer to add input type object to a webpage Give the syntax for a single line of text input - Correct Answers -

Give the syntax for a line of input for a password - Correct Answers - Give the syntax for a button form - Correct Answers - Give the syntax for a submit button - Correct Answers - Syntax for checkboxes - Correct Answers - Input form type Radio is used for.... - Correct Answers -set of radio buttons all set to one name per group while each individual button has its' own value. only one can be selected by the user Syntax for radio buttons (name card and list of visa, amex.. w/ visa checked) - Correct Answers -visa
amex
HTML syntax for form tags - Correct Answers - Scripting - Correct Answers -type of programming language executed directly from code instead of being converted first to byte code Benefits of Scripting - Correct Answers -rapid code development, prototyping, abstraction in code (file operations, GUI construction, manipulation of data structures), and facilitates integration with other languages JavaScript is used to make enhancements to HTML like.... - Correct Answers -change style, font, run functions JavaScript (is / is not) an object oriented programming language. - Correct Answers -is not Root object in javascript is _________. - Correct Answers -object JavaScript is dynamically typed meaning that... - Correct Answers -any variable can be used for anything javascript event handlers - Correct Answers -when an event occurs a JavaScript functions defined in the html code can be invoked How is output displayed in javascript? - Correct Answers -document.write(msg)

/d - Correct Answers -is digit /D - Correct Answers -is not digit /w - Correct Answers -is alphanumeric /W - Correct Answers -is not alphanumeric /s - Correct Answers -is a space character /S - Correct Answers -is not a space charater