How to make simple YouTube search button using form action attribute in HTML?

 This is the code :


This is the result:


So what we have done here is, YouTube uses "https://www.youtube.com/results?search_query=music" this kind of link to search for anything. we have placed the link till the "results?" in action button and "search_query"  in the name of input tag. 


In this way, we simply created the youtube search button.

Comments

Popular posts from this blog