2-5 Programming Exercises
Please use the * selector div tag font color to red
Renderings:
task
(1) using wildcards selector
(2) using jQuery .css () methods styling, CSS syntax ( 'attribute' attribute ')
Reference Code:
<! DOCTYPE HTML > < HTML lang = "ZH-the CN" > < head > < Meta charset = "UTF-. 8" > < title > * selector </ title > </ head > < body > < div > Huan primary then the same score chalcedony </ div > < div > windward sneer peach apricot </ div > < div > when to Pukou cloud over Sao </ div > <div>Literal-minded old man to help him get out </ div > < div > catechumens burn repair Lawspirit </ div > < div > class son Come handiness Song Ju </ div > < div > website will Qiantang one pair of carp </ div > < div > learn in the mountains empty since the old </ div > < div > Xi pools romantic feel do not </ div > < Script src = "https://cdn.bootcss.com/jquery/3.3.1/jquery.js" > </ Script > < Script > $(document).ready(function () { // here to fill the code $ ( ' * ' ) .css ({ ' Color ': ' # FF0000 '} ) }); </ Script > </ body > </ HTML >