WorksheetsIntroduction to CSS and JavaScript
Total questions: 50
Worksheet time: 25mins
CSS stands for:
Cascading Style Sheets
Creative Style Sheets
Colorful Style Sheets
Computer Style Sheets
CSS was first developed in:
1995
1996
1997
1998
CSS1 was introduced in:
1995
1996
1997
1998
CSS2 was published in:
1997
1998
1999
2000
Which CSS version introduced rounded corners, background decoration, and box shadows?
CSS1
CSS2
CSS2.1
CSS3
A CSS declaration must always end with:
Comma
Colon
Semicolon
Period
The selector id is defined with a:
.
#
@
$
Which of the following selectors is used for a single, unique element?
Class
Tag
Id
Universal
The CSS class selector is defined with a:
.
#
@
$
How many ways can you insert CSS into a web page?
1
2
3
4
Internal styles are defined in which section of an HTML page?
Body
Head
Footer
Header
Inline styles are applied:
In the head section
In an external CSS file
Within an HTML element
In the footer section
Which property is used to specify the background color of an element?
color
background
background-color
background-image
Which JavaScript version incorporated regular expressions?
1.0
1.1
1.2
2.0
What does the metacharacter \d represent?
Find a non-digit character
Find a digit
Find a word character
Find a non-word character
What does the metacharacter \D represent?
Find a non-digit character
Find a digit
Find a word character
Find a non-word character
Match the following metacharacters with their meanings:
\w
\W
\s
\S
Which of the following expressions finds any character between the brackets [a-z]?
Find any character from uppercase A to lowercase z
Find any character from lowercase a to lowercase z
Find any digit from 0 to 9
Find any character between the brackets
What does the expression [^xyz] do?
Find any character between the brackets
Find any character not between the brackets
Find any digit from 0 to 9
Find any character from uppercase A to lowercase z
Bootstrap was developed by which company?
Microsoft
What is the primary benefit of using Bootstrap in web development?
It helps with backend development
It provides tools for database management
It enables responsive web design
It assists in server configuration
What is a web server?
A computer that sends emails
A software package that provides services to client software
A device to print web pages
A hardware to connect internet
What is a website?
A single web page
A collection of web pages
A computer program
A type of web server
Where do client-side programs get executed?
On the server
On the client's machine or browser
On a remote machine
On a printer
Which of the following is NOT a client-side scripting language?
JavaScript
VBScript
AJAX
PHP
Which language is used for publishing information for global distribution on the web?
XML
HTML
SQL
Python
What does HTML stand for?
Hyper Transfer Markup Language
Hyper Text Markup Language
Hyper Tool Markup Language
Hyper Text Make Language
What does the tag do in HTML?
Inserts an image
Inserts a video
Creates a hyperlink
Creates a form
Which attribute of the tag specifies the path to the image file?
SRC
ALT
HREF
NAME
What is the purpose of the
Defines a table row
Defines a table cell
Defines a header cell
Defines a table footer
What does the
Creates a link
Embeds an image
Defines a form for user input
Displays a video
Which attribute of the
METHOD
ACTION
NAME
TYPE
What does the tag do in an HTML form?
Defines a form
Creates a text box, radio button, checkbox, etc.
Defines a table
Inserts an image
Which attribute of the tag specifies the type of input?
NAME
VALUE
TYPE
METHOD
Which new input type in HTML5 is used for selecting email addresses?
text
url
number
Which attribute of the tag provides alternative text for the image?
SRC
ALT
HREF
NAME
What is the purpose of the
tag in HTML?
To create a hyperlink
To display preformatted text
To define a table
To insert an image
What is the default alignment of the
tag?
Left
Right
Center
Justify
Which attribute of the
| tag specifies the space between the cell content and the cell border? a) CELLSPACING b) CELLPADDING c) SPACING d) BORDER 43. Which HTML attribute is used to define inline styles? a) STYLE b) CLASS c) ID d) CSS 44. What does the a) A footer for a document or section b) A container for navigation links c) A header for a document or section d) A section in a document 45. Which attribute of the tag specifies the URL of the page the link goes to? a) HREF b) LINK c) SRC d) URL 46. What is the default value of the 'target' attribute in the tag? a) _self b) _blank c) _parent d) _top 47. What does the a) Sets the title of the web page b) Creates a header c) Defines a section d) Adds a subtitle 48. Which CSS property is used to change the text color of an element? a) font-style b) text-color c) color d) text-decoration 49. What is the purpose of the a) It specifies the alignment of the image b) It defines the alternative text for the image c) It sets the border around the image d) It determines the size of the image 50. What is the purpose of the a) It specifies the background color of the table b) It sets the border width around the table c) It defines the alignment of the table d) It determines the font size of the table 100 % Similar Resources on Wayground45 questions nhập môn khoa công trình (thua làm cn chos) Worksheet • University 52 questions Pre-UAS_Analisa Keputusan v1.00 Worksheet • University 50 questions Repaso Unidad 1 Worksheet • University 50 questions Project Management MCQs Worksheet • University 50 questions ING. DE SISTEMAS UNIDAD 1 Worksheet • University 50 questions Tema 1 Robótica Worksheet • University 50 questions HERRAMIENTAS Worksheet • 6th Grade - University 45 questions FINAL EXAMINATION FOR GE 111 (LIVING IN THE IT ERA) Worksheet • University |
