Header Ads






HTML CSS JS beautiful Tag Code

HTML CSS JS beautiful Tag Code

HTML = HyperText Markup Language

<table class="styled-table">
    <thead>
        <tr>
            <th>Name</th>
            <th>Points</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Dom</td>
            <td>6000</td>
        </tr>
        <tr class="active-row">
            <td>Melissa</td>
            <td>5150</td>
        </tr>
        <!-- and so on... -->
    </tbody>
</table>

CSS = Cascading Style Sheets <table>

.styled-table thead {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

JS = Junior School Certificate

.styled-table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: left;
}

No comments

Powered by Blogger.