Computer Science, asked by Rhythi, 1 year ago

Distinguish between HREF and Name attributes in html?

Answers

Answered by Anonymous
0
<a href="google.com">google</a>

tag is for redirecting people on your website to other parts of your website, or to other websites.

the

<form id="frm_edit" action="edit_song.php" method="post">

<!-- form controls -->

</form>

Is used to handle user input. My first piece of code would redirect the user to Googlewhen clicking. The second piece of code (which should contain multitudes of input tags) would send on the data entered in the fields of that form to the specified file (edit_song.php) through a POST request.
In short: <A> tags are solely used to redirect, forms are (solely) used to pass on information to other pages.

MARK BRAINLIEST..
Similar questions