DL List CSS - 2017-2018 StudyChaCha

Go Back   2017-2018 StudyChaCha > StudyChaCha Discussion Forum > General Topics




  #1  
Old July 17th, 2017, 02:44 PM
Unregistered
Guest
 
Posts: n/a
Default DL List CSS

Hi I would like to know about DL tag in HTML as well as the what CSS means and the details about Formatting a Definition List in CSS?
Reply With Quote
  #2  
Old July 17th, 2017, 03:03 PM
Super Moderator
 
Join Date: May 2013
Posts: 28,574
Default Re: DL List CSS

The
tag characterizes a portrayal list. The
tag is utilized as a part of conjunction with
(characterizes terms/names) and
(depicts each term/name).

What do you mean by CSS?

Falling Style Sheets (CSS) is a template dialect utilized for portraying the introduction of a report written in a markup dialect.

With the rebound of 'semantic markup' individuals are at the end of the day taking a gander at what's the correct tag to be utilizing for various sorts of data. For instance, unordered records for route and tables just where completely fundamental. One generally neglected alternative for markup of glossaries and definition records is simply the dl quality.

1. The Definition List (DL)

One knows what the essential DL yield resembles - not extremely appealing - which is the reason they are once in a while utilized by website admins. Here you can see an unformatted list with some specimen content:

first item
definition for first item in list
second item
definition for second item in list
extending across more than one line
third item
definition for third item in list

There are two alternatives for including some designing. The first is to begin including HTML labels, for example, for the 'information term' (dt) and possibly a littler text dimension, or italics for the 'information definition' (dd). Yet, we can do all that and all the more much better utilizing CSS.

Example 1

Let's start with some simple CSS styles:
dt { font-weight: bold; text-decoration: underline; } dd { margin: 0; padding: 0 0 0.5em 0; }

The straightforward rundown now looks somewhat changed. The indenting has been expelled, some vertical cushioning embedded, and the information terms have been bolded and underlined:

first item
definition for first item in list
second item
definition for second item in list
extending across more than one line
third item
definition for third item in list

That is a move the correct way, yet most likely still insufficient to persuade individuals regarding the benefits of this approach. The accompanying case ought to demonstrate more enticing.

Advantages of CSS formatting over HTML

__________________
Answered By StudyChaCha Member
Reply With Quote
Sponsored Links






















Other Discussions related to this topic
Thread
MAH-MCA Cet Cut Off List
Cut Off List Of DTU
MP Pmt Cut Off List
IIM List
HCS IAS List
B.sc course list
TOP MBA List
New IIT List
Second Cut Off List DU for SC ST
Latest RBI's willful defaulter list and ECGC Caution list?
Defaulters list and ECGC list
list of Phd guide list for bharathiyar university?
CMU Course List
CGU Course List
Cut Off List of DU
Cit course list
MBA Best List
CPG Job List
IIM cut off list






Have a Facebook Account? Ask your Question Here



Reply


Forum Jump


All times are GMT +6.5. The time now is 10:28 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8 9