Community session with batch fsr060523

  1. What are the two types of HTML lists, and how are they different?
  2. How do you create an ordered list in HTML, and what tag is used for this purpose?
  3. What is the purpose of the “ul” tag in HTML, and how is it different from “ol” tag?
  4. How do you create a nested list in HTML, and what is the purpose of nesting lists?
  5. What is CSS, and what are the three types of CSS?
  6. How do you define a CSS class, and what is the advantage of using classes in CSS?
  7. What is the difference between display: inline and display: inline-block in CSS?
  8. What is the purpose of using an ID selector in CSS, and how is it different from a class selector?
  9. How do you define an ID selector in CSS, and what is the syntax for it?
  10. Can you use the same ID selector on multiple elements in an HTML document, and what are the consequences of doing so?
  11. How do you reference an ID, class, tag selector in HTML, and what is the proper way to do it?

1.two types of HTML lists are ul and ol, UL is unordered list and OL is ordered list.
2.Ordered list can be created with tag

    and its child tag is
  1. in which we can provide the list which we have to mentioned in our list.
    3.
      is used for und ordered list and in this we don’t get any numbering or bullets or anything while in
      we get these things.
      4.

    1. XYZ

    2. 5.CSS is Cascading Style Sheets and it is used for overall editing of website and it's of 3 types- Inline, internal and External 6.CSS class can be used as .class name it's advantages are faster page speed, formatting, color, easy to format etc. 7.display inline is used for height and width while with display:inline-block we can edit or format top and bottom margin as well. 8. 9. 10.with the help of # 11.
1 Like

1)order list and unorder list, in ol the list display with numbers not in ul list.
2)


3)ul tag is used for unorderlist it doesnot contain number it display with bullets
4)nested means list inside other list,

5)cascading style sheet, inline css, internal css, external css
6)css class selects specific element .classname

1 Like

1.unorderlist

    used to group a set of related item in no particular order.
    orderlist
    used to group a set of related item in a specific order.
    2. The
      tag is used for order list.an order list can be numerical or alphabetical. The
    1. tag is used to defines each list item.
      3. The ol element is used when the list is ordered and the ul element is used when the list is unordered.
      4. You have to use an
        or
        tag to describe the order of your list. For creating an unordered list, use the
        tag, while for creating an ordered list, use the
        tag.
        After that, you have to mention the info you need to display by using the
      1. tag
        5. CSS is nothing but Cascading style sheet. there are three types of css,i.e inline,internal and external.

1 Like

Ordered , unordered list

Ordered list , is used to create a list of items in series by using li tag
Ul tag is unorderd list , it is used to create list of items in the form of bullets
Css stands for cascading style sheet , there 3 types , inline , internal external css
Css class , by using .classname , it used to apply wherever you want to get same styling in some content
Id is used for applying separate elaments in the content
Id:#idname ,class:.classname , tag : tagname

1 Like
  1. Ordered & Unordered list
    Ordered list by default has number has value where as unordered list has bullets by default.
3. used for creating unordered listing in HTML. 4. can be done using ordered
    & unordered
    . We use mainly for creating lists in an orderly manner 5. CSS is cascade style sheet & inline CSS, internal CSS & external CSS . 6. 7. Just like in HTML, Inline display in CSS takes only required amount of space whereas block display in CSS takes the whole space. 8. Unlike Class which can be used number of times , ID is unique only & can be used for particular elements only. 9. Define < id=" Name"> & in CSS #Name{ } 10. No, we cannot use same ID multiple times & result would be that the code will not run properly 11. Ex-

1 Like

Ans1. There is two type of lists, one is order and second is unorder. Order list shows like order term example 1,2,3 or a,b,c,d, or i,ii,ii. Unorder list is like bullets example disc, circle, sqare etc.

Ans2. With the help of

    tag we can make order list with child tag
  1. . Purpose to use order list is make with number, alphabets, roman ordered.

    Ans3.

      tag stands for unordered list. And is used for make unordered list.

      Ans4. You can make nested list with nesting

      . The purpose of it is to creat multi sub lists in main list.

      Ans5. CSS stands for Cascading Style Sheets. And they are three type internal, external, and INline.

      Ans6. With the help of “.” we can make class in css. Advantage of it is, we can use it in multiples tags.

      Ans7. I have doubt in this question, inline is used for make block level elements to inline… but dont know about inline block.

      Ans8. Purspose of id in css is to make it unique like roll number of ID of employee… it is different from class because it can’t use on multple elemnets or place.

      Ans9. Id is define in cSS with #. Syntax is #idName{ CSS Properties;}

      Ans10. No, We can’t use same id in multiple elemnts. We can use class,elementName,Universal(*)etc.

      Ans11. .class,#id,

      .

    1 Like

    ans1: there ordered and unordered list ordered lists contains

      it makes item in ordered way and ,and
      contains unordered lists.
      ans2: ordered list can be created by tag
      .
      ans3: the basic purpose of using
        it makes item in ordered way and ,and
      contains unordered lists.
      ans4:
      ans 5: css is use to design and style the web page of html the three types of css are inline, internal, extenal,
      ans6: class is to target once in a same time css for styling it can be define as .class-name.

    1 Like

    1.ol and ul,ol will be in the numbers by default later can change it to romans,uppercase etc and ul will be in bullets by default later we can chage to circular etc.
    2.To get the content in oder wise

      1. .
        3.ul will not come in orderwise like ol does,styling is the major diffrence.
        4.creating list inside the tag like
        .purpose is like using text or img for the description.
        5.cascadding style sheets inline,internal,external.
        6.class,classes r used for grouping purpose.
        7.
        8.id is for individual but class is not for individual.
        9.#, id=demo_1 ,#demo_1,for link
        10.no we cant,it gets error wont show up in d web page.
        11.#id , .class, paired and unpaired tags .

    1 Like
    1. In CSS, a class is a group of elements that are the same or similar. Easy Formatting Changes, Compatibility Across Devices.
    2. display: inline , the major difference is that display: inline-block allows to set a width and height on the element. Also, with display: inline-block , the top and bottom margins and paddings are respected, but with display: inline they are not.
    1 Like

    1 ordered list and unordered list
    2

      tag used for ordered list
      3 .class_name{}
      4nested means one tag inside another tag thats means one is parent and other is chaild
      5 CSS is cascading language for used to stylish of the web pages there are 3 types of css inline css,external css and internal css
      6 group of element we apply same style then use class selector
      7display inline means block level element also show just like as inline and can not set for padding and margin for display inline element and display:inline-block means set margin padding to element
      8 Id selector when ever used when I will style for particular element or tag class selector when ever we used when i want to style group of element with same style
      9 #id_name{}
      10 yes we can use if id name will be same

    1 Like

    1.order and unorder list.order list have types like numbers,letters and unorder list have type like circlredisc,square.
    2.

    3.unorder list will not be ordered and its doesnot have number,letters.unorder list have circlredisc,square. 4.nested list is a parent child relationship and purpose is to list many number of items
    5.css is cascadestylesheet used to style the html elements.inline.internal,external 6.class is used to call a group of items with same name by useing the .and the advantage is we can repeat the class name to call. 7.display inline means using style to single element.inline-block allows to set a width and height on the element. 8.to call the individual id and the id name can't be repeated like class. 9.we should call the id by using # in css. 10.no 11.we should call id by # and class by . in css
    1 Like
    • What are the two types of HTML lists, and how are they different?
      Ans: The two types of HTML lists are unordered list and ordered list. “ul” tag is used for unordered list and “ol” is used for ordered list.

    • How do you create an ordered list in HTML, and what tag is used for this purpose?
      Ans: Ordered list is created in the following way:


      1. Content 1

      2. Content 2

    • What is the purpose of the “ul” tag in HTML, and how is it different from “ol” tag?
      Ans: The purpose of “ul” tag in HTML is to list items in bullet form. The “ol” tag is used to list items in serial numbered form (numbers, alphabets, roman, etc).

    • How do you create a nested list in HTML, and what is the purpose of nesting lists?
      Ans: To create a nested list in HTML, we used two or more tags within a single list. The purpose of nesting lists is to move from one part to another part in the same page.

    • What is CSS, and what are the three types of CSS?
      Ans: CSS is used to apply styles to the website. Eg: color of the text, background color, height, width, etc.
      The three types of CSS are- Inline CSS, Internal CSS and External CSS.

    • How do you define a CSS class, and what is the advantage of using classes in CSS?
      Ans: CSS class is an attribute that we use in order to give the same CSS property to two or more element in HTML.

    • What is the difference between display: inline and display: inline-block in CSS?
      Ans: display:inline is used to give the CSS property to particular element in the same line, whereas, display:inline-block is used to give the CSS property to the whole width within the same line.

    • What is the purpose of using an ID selector in CSS, and how is it different from a class selector?
      Ans: If we want to give the CSS property to individual element then we use the ID selector. It is different from the class selector because same ID cannot be used for multiple elements whereas, class selector can be used for more multiple elements.

    • How do you define an ID selector in CSS, and what is the syntax for it?
      Ans: ID selector is an attribute that is used to give the CSS property to only one element in HTML. The syntax for ID selector is #

    • Can you use the same ID selector on multiple elements in an HTML document, and what are the consequences of doing so?
      Ans: No, ID selector cannot be used for multiple elements in an HTML document. If we use ID selector to multiple elements than the inline CSS property will be executed instead of internal CSS property.

    • How do you reference an ID, class, tag selector in HTML, and what is the proper way to do it?
      Ans:

    #ID { property:value1; }

    .class {
    property:value2;
    }

    . . .
    1 Like

    1.html are orderlist and unoderlist
    2.

      tag are used in order list this is used to separate by ordering format

      1. some data
      3.using
      tag are maybe used to bullet,square and etc.anda
      are separate by order but
      tag are using sum symbols 5.styling sheet are css,inline css,external css,internal css. 6.class define css in .class that are called class. Class is also repeated in more then one element in same property 7.inline css is used to one line code inside of tag 8.id attribute are using to identify the line of code.class is also repeat more then one element but id is not repeated 9. #demo1{

      baground-color:red
      }

      New project 10. New project 1 New project 2 New project 3
    1 Like
    1. While an ID is specific to a single element, classes can be assigned to multiple elements on a page or throughout the webpage.
    2. by adding a hash (#) character, followed by the id of the element.
    3. If you have multiple elements with the same ID,you’ll only run into problems when using JavaScript to access those elements.
    4. write a hash # character, followed by the id of the element
    1 Like

    1-ordered list

      which shows in a ordered numbers,romans etc
      unodered list
      which shows in a bullets, squares, or blanks etc…
      2-

    1. 1

    2. 2


    3-
      tag is used for unordered list which gives the list without specific sequence numbering and
      tag for ordered list
      4- dont know maam
      5-cascading style sheets (CSS) which is used for styling the webpage like color font padding etc…it gives the webpage better look. three types of css are inline internal external
      6-class can be used in css for styling similer elements and it can be repeated
      7-inline gives elements in a line and inline-block is to set width and height of element
      8-id attribute is to give styles for specific html element and it cant be repeated but class can give styles for similar elements and class can be repeated
      9-id used for giving styles for specific hml element.the rules of id’s are should be unique, dont start with numbers and dont add space instead of only underscore. syntax of id should be #id name{}
      10-No, id should be unique
      11-id is used for selecting unique element and its syntax is is #id name{}, classes are for selecting similar elements and syntax is .class name{}. id name class name shouid be inside the tag

    1 Like

    dear all,
    Woww guys you do such a amazing thing atleast you try thats more than enough for me keep it up just amazing . :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2: :clap:t2:

    1 Like