No. There is nothing in any HTML specification for setting the border color at all, still less on a per-element basis. There is the widely supported nonstandard bordercolor attribute, but it works on the table as a whole, setting all border colors in it.

What comes closest to what you are asking is the trick of wrapping the content of the cell in a single-cell table and setting border color on it:

<table>
<tr>
  <td>foo
  <td><table border=2 rules=none bordercolor=red><tr><td>bar</table>
  <td>more
</table>

The style of the border is then browser-dependent, and so is the visual impression of its color, since solid red looks different from outset red. Moreover, the border is really inside the table cell, not around it, as you see if you set border on the outer table:

<table border=1>
<tr>
  <td>foo
  <td><table border=2 rules=none bordercolor=red><tr><td>bar</table>
  <td>more
</table>
Answer from Jukka K. Korpela on Stack Overflow
🌐
Kompx
kompx.com › en › html-table-borders-without-css.htm
HTML table borders without CSS
That space gets the color set by bgcolor attribute of table tag and since it differs from the background of rows and cells, this creates visual boundary line of the table background's color around the cells. The method of handling HTML table borders without CSS has been around since the earliest ...
🌐
W3Schools
w3schools.com › html › html_table_borders.asp
HTML Table Borders
HTML Tag List HTML Attributes HTML Global Attributes HTML Browser Support HTML Events HTML Colors HTML Canvas HTML Audio/Video HTML Doctypes HTML Character Sets HTML URL Encode HTML Lang Codes HTTP Messages HTTP Methods PX to EM Converter Keyboard Shortcuts ... HTML tables can have borders of different styles and shapes. To add a border, use the CSS border property on table, th, and td elements:
🌐
HTML.com
html.com › attributes › table-bordercolor
What Does HTML Bordercolor Attribute Does To Your Tables? [Clue: Color!] »
December 20, 2019 - Browser support for this attribute is limited and using it may produce unexpected results. Instead of bordercolor, use CSS to style tables. In this section we’ll look at setting the colors of table borders.
🌐
ETSU Faculty
faculty.etsu.edu › tarnoff › ntes1710 › tables › tables.htm
HTML Table Basics
The table below has a border of 10 pixels. This is done with the table tag <table border="10">. To have no border, set border="0". To change the border's color, use the attribute bordercolor="color" where color is the same format as all the other web colors we've been using.
🌐
Medium
medium.com › @wilfredcy › how-to-add-html-table-borders-without-css-e50168e3bb52
How to Add HTML Table Borders Without CSS | by Wilfred Chong | Nov, 2025 | Medium
1 month ago - <table border="1" cellpadding="5" cellspacing="0" bordercolor="black"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Data 1</td> <td>Data 2</td> </tr> </table> cellpadding: adds space inside each cell, giving your content breathing room · cellspacing: controls the gap between cells (set to 0 for a clean, unified look) bordercolor: sets the border color, though not all browsers support this
🌐
W3C
w3.org › Style › Tables › examples.html
Examples of table borders and rules
It seems we would need a sort intersection operator for that. The problem has been solved in this case by setting the border on the whole colgroup and then removing it again in the tbody. ... table { border: 2px outset grey / darkgray; padding: 1px } td { border: thin inset grey /darkgray; ...
🌐
Itqna
itqna.net › questions › 2740 › how-set-border-color-table-without-css
How to set the border color of a table without CSS? - It_qna
%pre% ______ azszpr10971 ___ So use bordercolor of the 'table' tag: %pre% ______ azszpr10975 ___ One of the ways (and that works consistently across browsers ) is to set the background of the table for a color, put a cellspacing, and then color the background of each white cell color you want), so ...
Find elsewhere
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › HTML › Reference › Elements › table
<table>: The Table element - HTML | MDN
Other CSS <color> values are not supported. Use the background-color CSS property instead, as this attribute is deprecated. ... Defines, as a non-negative integer value (in pixels), the size of the frame surrounding the table. If set to 0, the frame attribute is set to void.
🌐
GeeksforGeeks
geeksforgeeks.org › html › how-to-create-table-in-html-with-border-without-css
How to Create Table in HTML with Border without CSS ? - GeeksforGeeks
June 12, 2025 - To add borders to the table without using CSS, we can use the border attribute directly in the <table> tag. The border attribute specifies the width of the border in pixels. Here's how you can add a border to the entire table: <table border="1"> ...
🌐
Quora
quora.com › How-can-you-border-without-styling-in-CSS
How to border without styling in CSS - Quora
Answer (1 of 3): Check out the code of this table and study it well ! [code]
🌐
PW Skills
pwskills.com › blog › web development › border table html – css, without css, style
Border Table Html - CSS, Without CSS, Style
November 4, 2025 - You can adjust the thickness of your border by providing different values under the <table tag. Ans: You can use border properties in the <table tag to apply borders around your table without using the CSS style elements.
🌐
Ironspider
ironspider.ca › tables › tablecolor.htm
Background and Border Color
You are not obliged to settle for the default color used by web browsers to draw the borders of your HTML tables. Using various attributes in the <table> tag, you can specify your table's border color and even create a simple 3D effect. You can also define your table's background color.
🌐
Htmlhelp
forums.htmlhelp.com › index.php
Borders In HTML without CSS - HTMLHelp Forums
HTMLHelp.com | HTML Reference | CSS Reference | FAQs | Validator · Forums | Rules | Members | Search | Help
🌐
Screenstepslive
utah.screenstepslive.com › a › 1864861-table-borders-and-shading
Table Borders and Shading | Advanced HTML Elements | University of Utah
Select an individual cell to use the general table properties menu to shade an individual cell or, in code, add a style to the td tag to specify the background color for a specific cell. <table style="border-collapse: collapse; width: auto; margin-left: auto; margin-right: auto;" border="1" ...
🌐
Medium
medium.com › beyond-agile-leadership › achieve-stylish-html-tables-without-css-border-techniques-and-examples-3e7ff42e1aff
Achieve Stylish HTML Tables without CSS: Border Techniques and Examples | by Sam Turquoise | Beyond Agile Leadership | Medium
July 27, 2024 - By adding border="1", you give your table a basic border. It’s a bit like going from wearing pajamas to a smart-casual outfit. <table border="1"> <tr> <th>Header 1</th> <th>Header 2</th> </tr> <tr> <td>Data 1</td> <td>Data…
🌐
W3Docs
w3docs.com › html
How to Add Border to HTML Table
Learn how to create an HTML table, how to change HTML table border style using CSS. How to add border to , & elements. Practice with examples
🌐
Medium
frontendinterviewquestions.medium.com › html-table-border-without-css-4dafaebd54d0
HTML table border without CSS. For more questions and answers visit… | by Pravin M | Medium
August 30, 2024 - HTML table border without CSS · For more questions and answers visit our website at Frontend Interview Questions · border Attribute: This attribute was used to set the width of the border around the entire table and its cells. It specifies the thickness of the border in pixels.