Border around outside of table

In this article, you will see how to make an outside border of a table only.

<html>
<head>
<style type="text/css">
table {border: 1px solid red}
td, tr, th {border: 0}
</style>
</head>
<body>
<table style="font-size: 14px; text-align: left;" width="100%">
    <thead>
        <th><b>Scope</b>
        <th><b>What it does</b>
    </thead>
    <tbody>
        <tr>
            <td>singleton
            <td>Scopes the bean definition to a single instance per Spring container (default).
        </tr>
 
</body>
<html>

Output is :

Scope What it does
singleton Scopes the bean definition to a single instance per Spring container (default).


,

No comments yet.

Leave a Reply