What Will Be The Output Of Below Mentioned Code Snippetp Pre #243
What will be the output of below mentioned code snippet? <pre><code class="language-css">p strong {background-color: yellow;}</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs105 CSS (Cascading Style Sheets). It can also be found in gs gs105 CSS Selectors and Files - CSS Selectors - Quiz No.1.
What will be the output of below mentioned code snippet?
p strong {background-color: yellow;}
Strong have yellow background
Strong element within a p element have a yellow background
Both p and strong have yellow background
None of the mentioned