HTML - Thinking Out Loud: Why Is <u> Deprecated?
When <b> and <i> aren't?
I mean, aren't they are all equal at a semantic level? And considering as for better semantic syntax you should be using <strong> and <em>... Just wondering - anyone else have thoughts? Similar TutorialsHello forum. I have been experimenting with HTML with a friend for some time now and were on our way to creating our masterfull website (just for recreational purposes). However i'm having trouble with getting what I want with frames (I have heard that frames arent good anymore, but I wouldn't know yet how to do it in any other way, suppose i'll find better and more complicated ways to do it with experience). What I want is simple, split the page up into two, left colum is the part where u click on an option, right side is where you see the information. <html> <head> <title>=)</title> </head> <frameset cols="25%,75%"> <frame src="SA Frame.html" name="menu"> <frame src="1 Frame SA Website.html" name="content"> </frameset> </html> Is what I have currently with the SA frame.html being the left menu I made, and 1 Frame SA Website the first page of information. It currently looks like what I want it to look like except for two things. Wich a while I see the left bar menu fit perfectly on my screen, my friend has a bigger screen and on his he sees a way bigger left menu, wich is ugly, I want it to scale per computer so that it's always the same size. And the second question is how I make a second and third ect link in the left menu that will show diffrent information according to each link. Thank you in advance Sensen out this issue has been solved Am I right in this: instead of <i>, use <em> instead of <center>, use CSS instead of <b>, use <strong> This is what I do now because it works and the above codes are shorter than if one had to write it with inline CSS. What else than these 3 tags can you recommend that I use instead of the old HTML tags?? I am trying to make my code more standards compliant and use the "strict" DTD. But when I try to validate using the W3C validator, there are a few things that I'm having trouble with. Target: I was using <a href target="blank" ....> to open some external links in a new window, but this isn't allowed in HTML 4 strict or XHTML 1 strict. What is supposed to be the replacement? The only thing I could find on a web search was a javascript, which I know little about. Is that the only alternative? (Seems a bit silly if it is, as this must be a commonly used feature.) Align: I used this to centre graphics, but this isn't allowed either. Are we supposed to set up different image classes in the CSS to allow centering, left, etc? br: Use of the <br> tag is allowed in HTML 4 strict, but there seem to be some paces where it isn't allowed. Does anyone have a reference to the rules for this? Thanks Hi all, long time no post for me, good to see still a vibrant forum. I have been helping a friend with their existing site they built with Weebly. Weebly uses the deprecated html <font> tag to set the size of text the user sets via the GUI. Ive found the font tag does not play nice with line-height, I.e. when line-height is set to a value other than "normal", the actual size of the font in the <font> tags does not figure in the line-height calculation and if the font tag has a large size set, you get major bleeding - i.e. the line-height is too small. At least in Opera Chrome FF. I came up with a solution which seems to work but I thought this should be a known problem but could not find anything. Thought Id check see, may be there is a better fix, or I m missing something. Current solution is: font[size="1"] { font-size:xx-small; line-height:100% } font[size="2"] { font-size:small; line-height:100% } font[size="3"] { font-size:medium; line-height:100% } font[size="4"] { font-size:large; line-height:100% } font[size="5"] { font-size:x-large; line-height:100% } font[size="6"] { font-size:xx-large; line-height:100% } font[size="7"] { font-size:40pt; line-height:100% } Can you see any problem with this. Cheers, Sam. |