What are different ways to apply styles to a Web page?

  • : 383
  • : 5
    Previous Next

    There are four ways to integrate CSS into a Web page (some consider items three and four the same):

    • Inline: HTML elements may have CSS applied to them via the STYLE attribute.

    • Embedded: CSS may be embedded in a Web page by placing the code in a STYLE element within the HEAD element.

    • Linked: CSS may be placed in an external file (a simple text file containing CSS) and linked via the link element.

    • Imported: Another way to utilize external CSS files via @import.

    you can suggest other answer in comment box

  • Exam: CSS Interview QUESTIONS

    Recommended Learning for you

    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material