Level no.26

 HTML Character Entity References 

What are Character Entity References?

Character Entity References are way to represents characters that have special meaning in HTML documents.These references are used to include character that have reserved or  special significance in the markup language.We can say those words are reserved words. 
For instance, less than sign having special meaning in HTML documents. 

  1. For "<" we use &lt; 
  2. For ">" we use &gt; ®
  3. For "&" we use &amp;
  4. For "copyright logo ©" we use &copy;
  5. For "double quotation mark" we use &quot;
  6. For "trade mark logo " we use &trade;
  7. For "registered mark logo ®" we use &reg;
  8. For "pound  symbol" we use &pound;
  9. For "euro symbol" we use &euro;
  10. For "yen symbol" we use &yen;
  11. For "apostrophe  symbol" we use &apos;

Selection Tag

Selection tag is used in html for drop down list. User can choose one or more option from the predefined options.The selection tag only contain drop down arrow and it also contain option tag this option tag represent available options in the drop-down list.The value attribute is specifies the value that is sent to server when the form is submitted.



 











Option-group tag is used to group data of same type and provide manageable and understandable groups.So, basically it is used to categorize and organize options.
















Output












Disabled attribute:

It specifies that element should be disable.For example, In eCommerce when something is out of stocked then this attribute is helpful.It can also be used with <input>, <button>, <textarea> etc. 

Code:
















Output:



Comments

Popular posts from this blog

Level no.4

Level no.21

Level no.3