One of the main advantage of using src attribute is
A.It becomes self-cached
B.It makes the HTML file modular
C.It restricts manipulation in the HTML file
D.It simplifies the HTML files
Answers
Answered by
1
hiii
d is the right answer
Answered by
0
D). It simplifies the HTML files
One of the main advantage of using src attribute is It simplifies the HTML files.
- Using the src attribute enables you to remove lengthy stretches of JavaScript code from your HTML files, simplifying them. To make the code modular and legible, separate files for CSS and javascript are created. The URL of the media file to play is specified by the src attribute. When source> is used in audio and video, this attribute is needed.
- The URL of the source picture is specified using the img> src attribute.
- A client-side script can be embedded using the script> tag (JavaScript). Either scripting statements are present in the script> element, or the src attribute connects to an external script file. JavaScript is frequently used for content modifications, form validation, and picture manipulation.
- a line stating the HTML version, a declarative header section (separated by the HEAD element), and a body providing the actual content of the page. The BODY element or the FRAMESET element may implement the body.
#SPJ6
Similar questions
Math,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
English,
1 year ago
English,
1 year ago