We read your photo as:
Which CSS selector targets an element by its tag name?
Computer Science
ScanSolve AI Answer
The correct option is p { ... }.
.left-nav { ... }is a class selector, targeting elements with the classleft-nav..id { ... }is also a class selector, targeting elements with the classid.#footer { ... }is an ID selector, targeting the element with the IDfooter.p { ... }is a tag selector (or element selector), targeting all HTML<p>(paragraph) elements.
The selector that styles an element by targeting its tag name is p { ... }.
Was this helpful?
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
Got a different question?Ask your own question
More Computer Science Questions
QWhat are the meanings of the following HTML tags and attributes?QWhat is the main purpose of the tag?QWhat are the full forms and descriptions of common HTML tags like html, head, body, title, ul, and…QThe HTML <style> element is used to embed CSS (Cascading Style Sheets) rules directly within an HTML…
Browse by topic:Web Development