Lpi 030-100 Web Development Essentials – Exam 030, version 1.0 Online Training
Lpi 030-100 Online Training
The questions for 030-100 were last updated at Mar 02,2025.
- Exam Code: 030-100
- Exam Name: Web Development Essentials - Exam 030, version 1.0
- Certification Provider: Lpi
- Latest update: Mar 02,2025
When adding an image to an HTML document, which attribute is essential for accessibility?
- A . src
- B . alt
- C . title
- D . href
Which HTTP status codes indicate success and client error? (Choose two)
- A . 200
- B . 404
- C . 500
- D . 302
In CSS, what is the difference between the margin and padding properties?
- A . margin controls the space inside an element, while padding controls the space outside.
- B . margin and padding have no differences.
- C . margin controls the space outside an element, while padding controls the space inside.
- D . padding is used for text alignment, whereas margin is used for element positioning.
In Node.js, which function is used to include built-in modules?
- A . include()
- B . require()
- C . import()
- D . getModule()
What is the correct syntax for a CSS rule?
- A . selector { property = value; }
- B . selector { property : value }
- C . selector -> { property : value; }
- D . { selector : property = value; }
Which units are commonly used in CSS for responsive design? (Choose two)
- A . Pixels (px)
- B . Centimeters (cm)
- C . Relative units (em, rem, vw, vh)
- D . Kilograms (kg)
In CSS, what are media queries primarily used for?
- A . To add media content like video and audio
- B . To create different styles for different media types and screen sizes
- C . To query and retrieve media files from the server
- D . To automatically play media files on a webpage
Which CSS property is used to control the visibility of an element?
- A . display
- B . visibility
- C . opacity
- D . view
How do you execute an SQL query in a NodeJS application?
- A . Using the execute() method of the database connection object
- B . With the runQuery() function
- C . By invoking the sql.execute() function
- D . Using the query() method of the database connection object
What is the purpose of the position property in CSS?
- A . To specify how text is aligned within an element
- B . To determine the method of positioning for an element
- C . To create animated effects
- D . To define the border style of an element