1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Finger [1]
3 years ago
6

Which of the following JavaScript expressions is equivalent to the given HTML code? ​ a. Document.getelementbyId("menu1").menu=

"class"; b. Document.getelementbyId(menu1= "class name".menu); c. document.getElementById("menu1")."menu"; d. document.getElementById("menu1").className = "menu";
Computers and Technology
1 answer:
LenKa [72]3 years ago
8 0

Answer:

Option (D) is the correct answer to the following question.

Explanation:

In the following question there is some information is missing a line of code which is '<div id="menu1" class="menu">'.

The following option is correct because in the following code the id name is "menu1" and the class name is "menu" and in the option D the id is "menu1" and the class name is "menu". So, that's why this option is correct.

'document.getElementId()' is used to take input from the user or take elements from the document.

Option A is incorrect because there is no menu attribute inside the <div> tag.

Option b is incorrect because inside the parentheses "menu1" is not the class or it inside it, it is not written in that manner.

Option C is incorrect because the name of the class is not written like this at the place of the "className"

You might be interested in
Yall tryna play gta later? I play on ps4
iVinArrow [24]

Answer:

xbox tho

Explanation:

8 0
3 years ago
Read 2 more answers
Which of the following recently developed technologies has NOT greatly increased the speed of information dissemination?
Luba_88 [7]
<span>The option which hasn't greatly increased the speed of information dissemination is C. typewriter. Information can be easily and quickly shared through smartphones that have Internet access, through emails which you can send at any time, and through teleconferencing, which is basically using your camera to talk to people. The only technology which isn't really helpful nowadays is the typewriter - there are better things, such as computers, that do a better job today.</span>
3 0
3 years ago
Read 2 more answers
The software used to help run the computer hardware is the _____.
TiliK225 [7]
C. system software
if it means drivers and so on
6 0
3 years ago
Read 2 more answers
On line two, you take a string, word, as input. Then, using that string...
Solnce55 [7]

Answer:

7

Explanation:

This one obtains results that the others in particular do not have, whether it is even one more word or another initial sentence

8 0
3 years ago
Which specific attribute of a team player helps remove ambiguity from tasks?
Rama09 [41]
If a team player knows how to follow the rules, ambiguities can be prevented. Each member would be guided by specific details of their tasks and procedures. There is a clear definition of work premises that can avoid overlapping of work. This can give better productive results.
5 0
4 years ago
Read 2 more answers
Other questions:
  • Information management examines the organizational resource of information and regulates its definitions, uses, value, and distr
    11·1 answer
  • Part 1: Create an application that allows you to enter student data that consists of an ID number, first name, last name, and gr
    14·1 answer
  • Manuel is working on a project in Visual Studio. He wants to keep this program showing on the entire desktop, but he also needs
    7·1 answer
  • Which tab provides commands for the most commonly used elements in Word software?
    15·1 answer
  • You can't get close enough to the facility interior to launch an evil twin attack against its wireless clients; in fact, you hav
    11·1 answer
  • Tech A says that gasoline vapors are lighter than air, so inspection pits do not have a fire hazard like above ground hoists. Te
    9·1 answer
  • .- Una tienda de vestidos de fiesta, ofrece un descuento a las personas
    15·1 answer
  • Which one is better AMD Ryzen 5 Or Nvidia Gtx 2080 ti
    6·1 answer
  • How do you convert an algorithm to make it possible for a computer to read
    6·1 answer
  • ________ take advantage of vulnerabilities in software. Group of answer choices Blended threats Bots Trojan horses Direct-propag
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!