What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

<table border=1>?

larryl

New member
Hi Folks:

I'm working through the edX HTML5 and CSS Fundamentals tutorial.

I want a border around each cell of a table.

It looks like <table border=1> puts a border around each cell and border=0 means no border, but I'm not seeing that attribute listed here.

The validator flags this as an error and tells me to use CSS instead.

That's all good, but any CSS entries I try related to borders for tables or their elements is either ignored or applied to a border around the entire table.

What am I missing?

Thanks
Larry
 
Last edited:
Back
Top