본문 바로가기
HTML CSS

KokoaTalk clone coding: HTML more tags

by jane.dev 2021. 5. 2.
반응형

<body>

  <form>

    <label for="profile">Profile Photo</label> you have to put the same thing in 'for' and 'id'

    <input id="profile" type="file" accept=".pdf, image/*" /> If you click in the Profile photo(label), that activate the input

    <input required placeholder="Name" type="text" />

    <input required placeholder="Last Name" type="text" />

    <input required placeholder="Username" type="text" />

    <input required placeholder="Password" minlength="10" type="password" />

    <input type="submit" value="Create Account" />

  </form>

</body>

label>for, input>id

 

<body>

  <form>

    <label for="website">Website</label>

    <input id="website" required placeholder="address" type="url" />

    <input type="submit" value="move" />

  </form>

</body>

url

 

<body>

  <form>

    <label for="email">E-mail</label>

    <input id="email" required placeholder="E-mail" type="email" />

    <input type="submit" value="submit" />

  </form>

</body>

email