Answers for "input type for image upload in html"

3

how to upload image in html

<form action="/action_page.php">
  <label for="img">Select image:</label>
  <input type="file" id="img" name="img" accept="image/*">
  <input type="submit">
</form>
Posted by: Guest on March-25-2020
1

html upload image

<input type="file" accept="image/*" />
Posted by: Guest on December-03-2020
1

accept vedio pdf files upload html

<input type="file" accept=" video/*" />
Posted by: Guest on February-19-2020
0

html input file upload image for profile picture

#imageUpload
{
    display: none;
}

#profileImage
{
    cursor: pointer;
}

#profile-container {
    width: 150px;
    height: 150px;
    overflow: hidden;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

#profile-container img {
    width: 150px;
    height: 150px;
}
Posted by: Guest on September-30-2020

Browse Popular Code Answers by Language