Practice Free 1D0-720 Exam Online Questions
Question #21
In CSS, what is the purpose of a ‘property’?
- A . To identify a specific HTML element.
- B . To specify the aspect of the element to be styled.
- C . To define the document type.
- D . To link the CSS to HTML files.
Question #22
What are the components of the Web development trifecta?
- A . HTML, PHP, JavaScript
- B . HTML, CSS, JavaScript
- C . HTML, Java, Python
- D . HTML, C++, CSS
Question #23
What are JavaScript expressions and operators used for?
- A . Creating and styling HTML elements
- B . Performing operations and evaluating conditions
- C . Storing data on the server
- D . Linking to external JavaScript files
Question #24
In CSS3, how can you apply a shadow to text?
- A . text-shadow
- B . font-shadow
- C . shadow-text
- D . text-effect
Question #25
What CSS3 property allows you to create smooth animations between states?
- A . animation
- B . transition
- C . transform
- D . translate
Question #26
How do ethical responsibilities in web development differ from legal responsibilities?
- A . Ethical responsibilities are governed by laws, whereas legal responsibilities are not.
- B . Legal responsibilities are mandatory, whereas ethical responsibilities are based on moral principles.
- C . Ethical responsibilities deal with technical issues, while legal responsibilities deal with design issues.
- D . Legal responsibilities are optional, whereas ethical responsibilities are mandatory.
Question #27
Which CSS property is used to change the text color of an element?
- A . color
- B . text-style
- C . font-color
- D . text-color
Question #28
What is the function of the pattern attribute in HTML5 forms?
- A . To specify a regular expression the form input field’s value must match.
- B . To define a specific color pattern for the input field.
- C . To set a default value for the input field.
- D . To pattern the input field with specific data from a database.
Question #29
How is XMLHttpRequest used in HTML5?
- A . To play audio and video files.
- B . To interact with server-side scripts and retrieve data asynchronously.
- C . To encrypt user data.
- D . To create offline web applications.
Question #30
What is the primary role of functions in JavaScript?
- A . To style web pages.
- B . To store data.
- C . To perform a specific task.
- D . To link web pages together.