NameSilo

Is really wrong to use depreciated HTML?

Spaceship Spaceship
Watch

thenext88

Established Member
Impact
2
Is it really wrong to use depreciated HTML if it still actually works? For example I had to align two images laying next to each other to the center of the block they were in, and instead of creating a new block around the images and using margin:auto to center them... I just threw <center> and </center> tags in front and behind the images. It looked fine in IE8 and FF3.

So if it works... does it really matter. I know it's a bit lazy... but it's also a bit cleaner in the code to use those depreciated tags.

Thanks.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Its okay, frowned upon by web developers though :P. Couldn't you toss both images in a div and place them inside another div, then all you would have to do is margin: 0 auto; the image div to center them? Only takes a sec. :)
 
0
•••
it's all fun and games until something doesn't work or your layout looks differently in different browsers. :blink:
 
0
•••
Yes it is wrong simply because depreciated means that soon it will be removed altogether and your page will no loner work right. Ought as well do it right first and not ahve to fix it later.
 
0
•••
Halycon.Spinste said:
Yes it is wrong simply because depreciated means that soon it will be removed altogether and your page will no loner work right. Ought as well do it right first and not ahve to fix it later.
Agree 100% :tu: Sadly, however, anything (especially in the world of computing) that is up-to-date today is so passé tomorrow :'(
 
0
•••
maximum said:
Sadly, however, anything (especially in the world of computing) that is up-to-date today is so passé tomorrow :'(
yarrr... that is the nature of the beast! but then again what's the point of technology if you're not going to keep up with it... and if you think technology is good now, then you should want to keep up-to-date for all those goodies coming out in the future! ;)
 
0
•••
shockie said:
yarrr... that is the nature of the beast! but then again what's the point of technology if you're not going to keep up with it... and if you think technology is good now, then you should want to keep up-to-date for all those goodies coming out in the future! ;)
True, and I agree. It is just that keeping up on the technology keeps me way behind in the rest of my life :lol:
 
0
•••
<center>
<u>
<font color="red">
What's wrong with deprecated tags? They're fun!
</font>
</u>
</center>


lol seriously, it only matters when the browsers stop supporting them. If you are willing to go through every version of every browser to verify that your use of deprecated tags doesn't break anything, then go right ahead and use them. If not, then stick to the current standards.
 
0
•••
It's not wrong to use deprecated language features...yet. The only problem with using them is that sooner or later you're going to need to replace them with functional alternatives when they disappear from the specification. Might as well just avoid using them altogether.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back