search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
4 votes
2k views

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}
in Web Technologies 2k views

3 Answers

3 votes
 
Best answer

h1 {background-color:#FFFFFF} 


selected by
0
That is the nicest way of replying. :D
6 votes
Answer is A)
1 vote
Option A is correct

h1 { background-color :#FFFFFF}
Answer:

Related questions

4 votes
2 answers
1
2.3k 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'/>
asked Jun 19, 2016 in Web Technologies jothee 2.3k views
5 votes
2 answers
2
2.6k views
The correct syntax to write "Hi there" in Javascript is jscript.write ("Hi There") response.write ("Hi There") print ("Hi There") print.jscript ("Hi There")
asked Oct 15, 2015 in Web Technologies ajit 2.6k views
5 votes
3 answers
3
2.9k views
Choose the most appropriate HTML tag in the following to create a numbered list <dl> <list> <ul> <ol>
asked May 7, 2017 in Web Technologies sh!va 2.9k views
7 votes
2 answers
4
3.4k views
In HTML, which of the following can be considered a container? <SELECT> <Value> <INPUT> <BODY>
asked Jun 23, 2016 in Web Technologies jothee 3.4k views
...