Computer Science, asked by abishekhinmuscpbv0ij, 1 year ago

what do you understand by 'type' attribute?Explain the values that are defined with <UL> tag.​

Answers

Answered by NeelamPriyanshi
7
The Type attribute is used with UL and OL tags to define which type of numbering or bullet is used in front of the OL and UL tags.

Answered by Brainlyshchay
2

Q) What do you understand by 'type' attribute? Explain the values that are defined with <UL> tag.​

Ans) Hey mate here's your answer :)

TYPE ATTRIBUTE:-

  • The type attribute means the type of the input.
  • For example, < input type="button">
  • Here the input is the tag and type is the attribute.

THE <UL> TAG

  • The full form of ul in the ul tag is unordered list.
  • In this tag the bullets a by default a dot.
  • You can add the following tags to <ul></ul> tag :-
  1. class=""
  2. type=""
  3. compact=""

THE CLASS TAG

  • By using the class tag you can create a style for the list bullet in CSS file and add it to you <ul></ul> tag.
  • For example,

                                           ul.colored {

                                           background-color: red;

                                           }

THE TYPE TAG

  • By using the type tag you can modify the bullet list by either choosing the normal bullet or a circle bullet ( incase for <ul> tag )
  • For example,

                                                  <ul type="circle">

THE COMPACT TAG

  • The compact tag is used to specify whether it is smaller than the normal list.
  • For example,

                                             <ul compact="compact">

Hope this helps you :)

No SPAMMING❗❕...

*Note: This answer will look better on Brainly website for desktop, as this answer is made on laptop and not on Brainly app.

Similar questions