3,278 views
4 votes
4 votes

To add a background color for all <h1> elements, which of the following HTML syntax is used

  1. h1 { background-color :#FFFFFF}
  2. { background-color :#FFFFFF} . h1
  3. h1 { background-color :#FFFFFF} . h1(all)
  4. h1. all{bgcolor= #FFFFFF}

3 Answers

Best answer
3 votes
3 votes

h1 {background-color:#FFFFFF} 

selected by
Answer:

Related questions

4 votes
4 votes
2 answers
1
go_editor asked Jun 19, 2016
3,672 views
To declare the version of XML, the correct syntax is<?xml version='1.0'/><*xml version='1.0'/><?xml version="1.0"/><xml version='1.0'/>
5 votes
5 votes
2 answers
2
ajit asked Oct 15, 2015
3,486 views
The correct syntax to write "Hi there" in Javascript isjscript.write ("Hi There")response.write ("Hi There")print ("Hi There")print.jscript ("Hi There")
0 votes
0 votes
1 answer
3
admin asked Apr 1, 2020
909 views
Web links are stored within the page itself and when you wish to ‘jump’ to the page that is linked, we select the hotspot or anchor. This technique is calledHypertext...
5 votes
5 votes
2 answers
4
sh!va asked May 7, 2017
5,070 views
Choose the most appropriate HTML tag in the following to create a numbered list<dl><list><ul><ol>