Posts

Showing posts from October, 2022

HTML File Upload

Image
HTML File Upload                     HTML Tag   1] File Upload Tag <input type="file"> A control that let's the user selects a file. Use the accept attribute to define the type of files that the control can select. File Tag program     < html > < body > < h1 > File upload </ h1 >   < p > Show  file-select field which allows a file to be chosen for upload: </ p >   < form action = "/action.php" >  Select a file: < input type = "file" name = "myFile" >< br >< br > < input type = "submit" > </ form > </ body >   </ html > HTML File Upload  Explain Program Step 1 ]    <html> root element of an HTML document. All HTML content must placed inside  tag.

html form tag

Image
  HTML Tag      Form Tag HTML Forms are one of the main parts of communication between a user and a web site or web application . HTML forms serve the purpose of collecting information provided by the users.        Forms tag equired to the take input from to the user who visit the website This form is primarily used for the registration process , creating a profile on a website , or logging into an existing one, etc. Name, password, and other details are among the data gathered from the form. At this point, the form will receive input and post the information to backend applications . Thus, the data that they receive will be processed by the backend programme. There are various form element such as text fields , text area , drop-down list , select , checkboxes , radio , etc. Attributes   1) Action :- Form action tells us about the page name where form data has been processed.to send the data that the user will submit. 2) method :- Method to...

HTML List Tag Tutorial

Image
how to use html ul,ol, li tag with example Lists Tag List tag  method that HTML specifying any information or data in list style on web page. All lists can contain one or more heading or text. In a web page list items like heading  text starts with <li> and ends with </li>. list tag  writing any list item, it must to specify the list type.list tag three types of lists you can use. A list tag is a record of short pieces of related information or used to display  data or any information on web pages. The <li> tag HTML element is use to the represent item in list. list tag It must be contained in a parent element an ordered list ( <ol> )tag  an unordered list ( <ul> ), or a menu ( <menu> ). list tag In menus and unordered lists  items are usually.  Three Types of Lists  1) Unordered List  <ul> 2) Ordered List <ol> 3)Definition List <dl>

HTML Table Attribute in html

Image
                                 Table Tag   Attributes   1) Rowspan Tag     The <tr> tag in HTML stands for " table row " and is used to define a row in a table. It is placed inside a <table> element and typically contains one or more <td> (table data) or <th> ( table header ) elements. Each <tr> represents a single row of data or headers in the table. Rows can be styled using CSS , and can also work with rowspan and colspan attributes inside cells to span across row or columns for better layout control.   Example program <html> <body> <h1>Example of TD Rowspan attribute </h1> <table border="1"> <tr> <th>Student</th> <th>Fees Amount</th> <th>Course</th> </tr> <tr> <td>Manish</td> <td>700</td> <td rowspan="2"> Java </td> ...

HTML Table Tag

Image
HTML Tag   1) Cell width or column width Tag The <td>width TO  be set either as an absolute value in pixel, or as in percentage (%) Program   <! doctype html> <html> <body> <table border= 1 Width= 400> <tr> <td width=30%> cell width is 30% </td> <td width = 70%> cell width is 70%  </td></tr> </table> </body> </html>   Cell width or column width output 2) TR Tag  HTML table TR ( tag) represents a Table Row and is utilized to add rows to the table. Data HTML tables are placed into rows. The fundamental components of an HTML table are the table rows. A table's rows do not have any data directly. TR tag HTML specifies a row within a table and the element includes one or multiple or elements. These and hold the table information. Arranged Table Row Basic tables typically include a parent componentalong with several table row. serves as a parent element for the row that includes t...