xxxxxxxxxx
<html>
<body>
<h1>Checked Attribute Example for the Input Element</h1>
<p>The following example makes both the checkbox and radio inputs selected automatically on page load.</p>
<form>
<label for="name">Checkbox:</label>
<input type="checkbox" id="name" name="name" checked><br><br>
<label for="name">radio:</label>
<input type="radio" id="name" name="name" checked>
</form>
</body>
</html>