What are the advantages and disadvantages of Embedded Style Sheets?

Author Topic: What are the advantages and disadvantages of Embedded Style Sheets?  (Read 3408 times)

Offline nisha03Topic starter

  • Trade Count: (0)
  • Semi-Newbie
  • *
  • Thank You 1
  • Posts: 46
  • Karma: 0
  • Gender: Female
    • Wedding planners in allahabad
What are the advantages and disadvantages of Embedded Style Sheets?


Offline pablohunt2812

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 23
  • Posts: 200
  • Karma: 0
19. What are the advantages/disadvantages of the various style methods?
External Style Sheets
Advantages

* Can control styles for multiple documents at once
* Classes can be created for use on multiple HTML element types in many documents
* Selector and grouping methods can be used to apply styles under complex contexts

Disadvantages

* An extra download is required to import style information for each document
* The rendering of the document may be delayed until the external style sheet is loaded
* Becomes slightly unwieldy for small quantities of style definitions

Embedded Style Sheets
Advantages

* Classes can be created for use on multiple tag types in the document
* Selector and grouping methods can be used to apply styles under complex contexts
* No additional downloads necessary to receive style information

Disadvantages

* This method can not control styles for multiple documents at once

Inline Styles
Advantages

* Useful for small quantities of style definitions
* Can override other style specification methods at the local level so only exceptions need to be listed in conjunction with other style methods

Disadvantages

* Does not distance style information from content (a main goal of SGML/HTML)
* Can not control styles for multiple documents at once
* Author can not create or control classes of elements to control multiple element types within the document
* Selector grouping methods can not be used to create complex element addressing scenarios

Offline mishraviplav7877

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 0
  • Posts: 50
  • Karma: 0
  • Gender: Male
The advantages of Embedded Style Sheets are:

- It is conceivable to make classes for use on numerous label sorts in the record

- Under complex circumstances, Selector and grouping techniques can be utilized to apply styles.

- No additional download is required to import the information.

The disadvantages of Embedded Style Sheets are:

- It is impractical to control the styles for different archives from one document, using this technique.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1401 Views
Last post 02-07-2012, 02:05:03
by Rogers11
0 Replies
1207 Views
Last post 04-12-2013, 04:09:21
by GeorgeKappa
0 Replies
615 Views
Last post 12-11-2016, 23:36:40
by beingchinmay