<!DOCTYPE html>
<html lang="en-US">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> </head>
<body>
<h1>jQuery :radio Selector</h1>
<input type="radio"> I like riding horse
<script>
$(document).ready(function(){
$("input:radio").prop("checked",true);
});
</script> </body>
</html>