HTML5 Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - HTML5

Which element is no longer supported in HTML5?


 

 

 

 



D


Solution:-

HTML5: removed elements (tags)

Because of the semantical orientation of HTML5 many HTML tags have been declared a non-conformant or deprecated in HTML5. These tags are tags that are either redundant or do not transport meaning but only display properties that should rather be done setting CSS properties than HTML tags.

Following are the list of tags currently removed in HTML5 with alternatives,

Depricated                      Description Alternative

<acronym>

acronym or abbreviation for a word                                                                                                                                         

<abbr>  

<applet>

Java applet

<object>

<basefont>

default font size for a document

font, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, @font-face

<big>

text font size one size bigger

font-size

<center>

center content horizontally within the containing element

text-align

<dir>

directory

<ul>

<font>

font size, color and face

font, font-family, font-size, font-size-adjust, font-stretch, font-style, font-variant, font-weight, @font-face

<frame>

area in which another HTML document can be displayed

<iframe>

<frameset>

container for <frame> elements  

<noframes>

element used when <frame> elements are not supported  

<strike>

strike-through - <del> or <span>

text-decoration

<tt>

display text with monotype font

<code>

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For example <u> was on the list of deprecated tags for some time but currently has found its way back into the specification of the HTML5 elements. <u> tag element makes the contained text underlined. It's never been a good idea to use it since underlined text generally has a different meaning for users of HTML web site pages: It is usually shown that this text is a link which is not the case with the <u> tag element. Of course the same can be achieved with CSS, so the <u> tag is not really required, and using it for only display purposes doesn't fit the semantical objective of HTML5. This element only got out of the HTML5 non-conformity because there are scenarios in which it does transport a meaning (Chinese proper name mark, text marked incorrect by a spell-checker, indicate family names).




Next 5 multiple choice(s)

1

Which element is no longer supported in HTML5?

2

In HTML5, onblur and onfocus are:

3

What is the correct HTML5 element for playing video files?

4

What is the correct HTML5 element for playing audio files?

5

Which attribute for <script> elements is no longer required in HTML5?

Comments