akhleshsrm Posted May 30, 2016 Share Posted May 30, 2016 We can set a table border color with bordercolor attribute but with it we can set border color only for whole table. I want to set border color of a specific row or a specific cell. How can i do it with HTML? Link to comment Share on other sites More sharing options...
Ingolme Posted May 30, 2016 Share Posted May 30, 2016 Why do you not want to use CSS? Link to comment Share on other sites More sharing options...
akhleshsrm Posted May 30, 2016 Author Share Posted May 30, 2016 I am just learning HTML now and don't know much about CSS. If there is any way to do it with HTML,you can suggest me and if not you can suggest CSS. Link to comment Share on other sites More sharing options...
Ingolme Posted May 30, 2016 Share Posted May 30, 2016 It is not possible. HTML and CSS go hand in hand, you must learn them both because HTML on its own does not control the appearance of the page, only its content. The bordercolor attribute is deprecated and should not be used. The same goes for all HTML attributes that change the appearance of anything on the page. You should not be using tables to lay out you page either, you should use CSS and the box model for that. Tables are only intended to represent two-dimensional data structures. Link to comment Share on other sites More sharing options...
akhleshsrm Posted May 30, 2016 Author Share Posted May 30, 2016 ok...Thanks...I will remember it for next time. Link to comment Share on other sites More sharing options...
akhleshsrm Posted May 30, 2016 Author Share Posted May 30, 2016 then what is the use of html if we can do it with css? is all in vain to learn html? should i directly learn css instead of HTML? Link to comment Share on other sites More sharing options...
Ingolme Posted May 30, 2016 Share Posted May 30, 2016 HTML defines the structure of the page, CSS defines the appearance of the page. CSS without HTML is useless, as there is nothing to apply CSS rules to. You have to learn both HTML and CSS. 1 Link to comment Share on other sites More sharing options...
akhleshsrm Posted May 31, 2016 Author Share Posted May 31, 2016 ok... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now