Search
 
SCRIPT & CODE EXAMPLE
 

HTML

create a table in html with 3 rows and 4 columns

<table>
  <caption>Item Cart</caption>
  <thead>
    <tr>
      <th scope="col">ID</th>
      <th scope="col">Item</th>
      <th scope="col">Price</th>
      <th scope="col">Quantity</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <th scope="row">1</th>
      <th>Banana</th>
      <td>$1.00</td>
      <td>3</td>
    </tr>
    <tr>
      <th scope="row">2</th>
      <th>Burger</th>
      <td>$6.90</td>
      <td>1</td>
    </tr>
    <tr>
      <th scope="row">3</th>
      <th>Cookie</th>
      <td>$4.20</td>
      <td>4</td>
    </tr>
  </tbody>
</table>
Comment

PREVIOUS NEXT
Code Example
Html :: how to break between characters in html 
Html :: hotjar how to exclude elements 
Html :: stop bubbling 
Html :: select tag html 
Html :: html how to add an image 
Html :: bootstrap text warning color 
Html :: Website Navbar / Menu Links with Sub menu odoo 
Html :: use of extends in html django 
Html :: meta tag viewport 
Html :: html redirect 
Html :: how to center align text in html 
Html :: how to set a default value for a dropdownlist in html with thymeleaf spring 
Html :: form with no action 
Html :: change color on the same string html 
Html :: type phone number html 
Html :: html required checkbox 
Html :: link open new tab 
Html :: vue js v-for with index 
Html :: html sound 
Html :: how to program a button to work in javascript 
Html :: dropdown bootstrap 
Html :: html phone click to call 
Html :: html checkbox 
Html :: how to use javascript in html 
Html :: onclick a tag 
Html :: Change color of calendar icon in HTML Date Input 
Html :: html link tag for other website 
Html :: tailwind download button 
Html :: emmet vscode twig 
Html :: how to formate text in div 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =