Hello there.. Need some basic help in html.. Can anyone please share a piece of code how to make all the links on a page look like the regular text, no underlined and the same font/color.. Can it be done without css, just plain html? thanks..
<a href="link.php" style="text-decoration:none; color:#000000;"> You can change the color to the same as your text.
ok, thanks, I've also found this, so you can insert it into <head> without using css .. i believe it's the same, but what's better in terms of seo and generally?
I think technically that would be considered css. Its just not declared in the style tag. Not sure which would be better.
what do you mean it's not declared in the style tag? I just don't want to carry a css file with all my sites into all the directories and sub-directories.. etc.
<style type="text/css"></style> is exactly the same as <style></style> and both execute the same as <link rel="stylesheet" type="text/css" href="css.css"> It's css, just not external css.
If you care about the html being valid, then declare it as css. As far as function goes, it should work fine whichever way you do it.
Paste this into your html doc Michael <style type="text/css"> A:link {text-decoration:none;} A:active {text-decoration:none;} A:visited {text-decoration:none;} </style> HTML: