Its not a big deal to fetch all the YouTube titles using YouTube API Step 1: Make an Html form and save your file named as index.php. Just paste the below code in your index.php " <html> <head> <title>Youtube</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"/> </head> <body> <div class="container"> <br> <br> <h1>Youtube Video Search Title</h1> <form method="post" action =""> <div class="form-group"> Name: <input class="form-control" type="text" name="search" id="search" value=""> </div> <div class="form-group"> <input class="btn-danger" type="submit" name="submit" value="Search"> </div> </form> </div> </body> <...