<center>
As the tag name says, this was used to center items in html. It was one of the most useful tools as it would center just about anything you put inside of it's tags. For text, the alternative would be to put something like "<p align='center'>". This can also be done by css by using the "text-align:center;" code. Different browsers display the same code in weird ways so it is a hassle trying to find the correct usage that will work on each of the browsers you need it on.<font>
Ages ago, people would use this code like <font color='someColor'> to give the text inside of it a certain color. Now that is accomplished with CSS. You would use the appropriate tag in the css style, and add the code "color:someColor;" to change it. The bonus to this, is that it affects everything on the page with that tag, and you no longer need to put the <font> tag in each section you needed it on.<dir> and <menu>
The 'dir' and 'menu' tags were used to create unordered lists. These would be just bullets organized in one column to list items. The alternative is a shorter <ul>. You would add that to start a tag, then for each item in the tag, you use <li></li>. I'm not sure why there were 2 tags to accomplish the same thing, but now it's much easier to remember since this tag is for "U"nordered "L"ists.
2 comments:
How fast do you think these codes will become obsolete? I do not see them going anywhere anytime soon. Html5 is just beginning to be implemented and I do not think most people are going to bother learning css for just a few lines of code.
I haven't the slightest idea on how long they might be around. Personally, I think they should just be kept for beginners or non-professional websites. I'm not even sure as to why they were removed. If some browsers didn't display them, then it should be up to the designer to make the changes to make them show up, and not just getting rid of the tag for everyone.
Post a Comment