HTML Code Snippets


<form action="">
    <input type="text" placeholder="cat photo URL">
    <input type="radio" name="test-name" checked>
    <input type="number" id="number" name="number" min="1" max="5" placeholder="Enter your number">
    <input type="text" required>
    <button type="submit">Submit</button>

<input type="checkbox" id="type1" name="A" value="A"><label for="type1" name="A">A</label>
<input type="checkbox" id="type2" name="B" value="B"><label for="type2" name="B">B</label>
<input type="checkbox" id="type3" name="C" value="C"><label for="type3" name="C">C</label>


<nav id="nav-bar">
    <a href="#nav-bar" class="nav-link">HTML</a> |
    <a href="#nav-bar" class="nav-link">CSS</a> |
    <a href="#nav-bar" class="nav-link">JS</a>
<!-- Create Links To Sections On The Same Page(with id)-->

<label for="textarea">You may want to say:</label>
<textarea id="textarea" name="textarea" rows="4" cols="7"></textarea>

Access to web-specific text