# Show record details in a card with the HTML component

> This article will explain how to display record detail information in a nice card using the HTML component.

Source: https://tadabase.com/docs/learn/display-record-information-in-a-card  
Status: Not yet re-checked. Moved from our previous help site and not yet re-checked against the current product. Last edited Sep 20, 2024.

This article will explain how to display record detail information in a nice card using the HTML component.

First, we'll add an HTML component to a details page.

![Screenshot for “Display record information in a card”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-03/scaled-1680-/0YCsonYFTyI3W_rRID3AI9DZQoRBXrXc2Q.png)

Next, we'll select the field we want to display in the card component as shown in the image below.

![Screenshot for “Display record information in a card”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-03/scaled-1680-/pQxQRWBblnMhweazG9xO2WgTDnioDpVzHQ.png)

Now in the following HTML code replace "{Job Name}" with your Field Variable.

```html
<div class="af-card-component shadow-1x">
    <div class="card-inner">
        <div class="header ng-hide">Header</div>
        <div class="con">{Job Name}</div>
        <div class="footer ng-hide">Footer</div>
    </div>
</div>
```

![Screenshot for “Display record information in a card”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-03/scaled-1680-/HRpDej-3WSDSYLfYSIsr1kSw4d7VrP4ilg.png)

If you'd like to use the Header and Footer options as well feel free to remove the "ng-hide" class from the code

![Screenshot for “Display record information in a card”](https://tadabase-docs-assets.s3.amazonaws.com/uploads/images/gallery/2020-03/scaled-1680-/NliGGdB6mxZom6R_MgOuMncKlpjbYXeOlA.png)
