file upload html



File Upload  :-


     <input type="file">


   html form tag  Attribute   


 ஃ  The html file tag is used to upload any file to server. 

 ஃ  Form gives  option to upload any file such as image, resume audio etc. to the server.

 File input tag.

  <input> element  use type = "file"  

 ஃ The user choose one or more files form device storage. 


SYNTAX:

          <input type="file">


  HTML program 


               File Upload 


<!DOCTYPE html>
<html>
<head>
   
    <title> select file  </title>
</head>
<body>
    <h2> file to upload</h2>
    <form>
       <label> file upload</label>
       <input type="file" name="newfile">
    </form>
</body>
</html>

  output

              file upload html program 


file upload html /output


Related Post 

html login in form

html anchor tag

how to create login form

Comments

Popular posts from this blog

What Is CSS Text Color in 2026

CSS Padding Property Explained

CSS Outline Color Property in 2026