Saturday, December 30, 2023

html color tag

 html color tag


เฎƒ color tag syntax :

   <input type="color"> 

  1]  Html is used to create a color picker.
  2]   Used to select a color from a visual interface.
  3]   The value of the tag is always a seven character
        string in the format  eg-#FFA07A

  4]   select user  use a specific color.   

 
  
Html program  
    
          html color tag

<!DOCTYPE html>
<html>

   <head>
      <title>HTML color tag</title>
   </head>
   
   <body>
      <form>
      <h2>select your favorite color</h2> <br>
      <input type="color" name="upclick"
value="#D35400" ><br>upclick<br><br>
      <input type="color" name="downclick"
value="#FF7F50 "><br>downclick
      </form>
   </body>
   
</html>

Output :-

     html color tag

html color tag output








visit link
๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘Œ๐Ÿ‘๐Ÿ‘Œ

line break html

drop down button

html radio button

html form

html list

insert a background image html

login form

Friday, December 29, 2023

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


visit link๐Ÿ‘๐Ÿ‘‡๐Ÿ‘‡

image tag html

anchor tag html

paragraph tag html

comments tag html

line break html

 

                  Line Break


information


1]   A line break ends the line you are currently on and resumes on the next line. Placing <br /> within the code to break the line. Use the <br /> tag within the <p> (paragraph) tag.

2] A line break is marked up as follows:

3] The <br> tag inserts a single line break. 

4] The <br> tag is an empty tag which means that it has no end tag.

5] The <br> tag is an empty tag which means that it has no end tag. 

6] The <br> tag is useful for writing addresses or poems.

7] <br> tag to enter line breaks, not to separate paragraphs.

 

Syntax :

                      </br>

Line Break

      program

<!DOCTYPE html>

<html>
 <body>
<p>
 To break lines<br>in a text,<br>use the br element.
 </p>
</body>

 </html>


OUTPUT 

LINE BREAK TAG


line break html program










Link visit