Friday, January 8, 2010

HTML coding question...what does this mean?? HELP?

I was asked to tell what this means in HTML:


%26lt;i%26gt;


%26lt;u%26gt;


%26lt;b%26gt;





could you please explain this to me?? HELP!!!!!HTML coding question...what does this mean?? HELP?
the ';i'; is italics





the ';u'; is underline





the ';b'; is boldHTML coding question...what does this mean?? HELP?
Well that is a ';TRICK'; question. Because %26lt;i%26gt;,%26lt;u%26gt;,%26lt;b%26gt; means html opening tag for the following elements


%26lt;i%26gt;%26lt;/i%26gt; means Italic


%26lt;u%26gt;%26lt;/u%26gt; means underline


%26lt;b%26gt;%26lt;/b%26gt; means bold.


The %26lt;i%26gt;, %26lt;u%26gt;, %26lt;b%26gt; will not do anything without the closing tags. And to get real good, tell them they are old standards and now fonts are normally styled with CSS now.
The first two answers are right. But just wanted to make a note that those are the start tags ONLY. So anything AFTER that point will be italic, underline, or bold with no end. An end tag is the same but will have a slash like this %26lt;/i%26gt; or %26lt;/u%26gt; or %26lt;/b%26gt;.





%26lt;b%26gt;Bold%26lt;/b%26gt;


%26lt;u%26gt;underline


%26lt;i%26gt;Italic%26lt;/i%26gt;





so in the above example, the word italic would also be underlined because the tag has not been ended.
%26lt;i%26gt; = italicize


%26lt;u%26gt; = underline


%26lt;b%26gt; = bold





They are for text.





EXAMPLE:





%26lt;b%26gt;Hello%26lt;b%26gt; Because of the bold command, hello shows up bold on the decoded webpage. Same with %26lt;u%26gt;, and %26lt;i%26gt;. You put them around the text to make it do what the command is made for.





Hope that helps.
Also note that these may be supplanted by new conventions. For example, %26lt;b%26gt; is replaced by %26lt;strong%26gt; in the new standard (in part to allow text-to-voice converters to adjust appropriately).
%26lt;i%26gt;you text will be italic%26lt;/i%26gt;


%26lt;u%26gt;you text will be underlined%26lt;/u%26gt;


%26lt;b%26gt;you text will be bold%26lt;/b%26gt;

No comments:

Post a Comment