Ways of styling - Inline, Internal, External - HTML

Q.  What are the three ways by which styling can be added to the HTML elements?
- Published on 25 Aug 15

a. Inter, Outer, External
b. Outline, Inline, External
c. Inline, Internal, External
d. None of the above

ANSWER: Inline, Internal, External
 

    Discussion

  • Nirja Shah   -Posted on 10 Nov 15
    Inline Styling
    - This styling is useful for applying a unique style to a single HTML element.
    - It uses the style attribute.

    Internal Styling
    - This style sheet is used to define a common style for all HTML elements on a page.
    - It is defined in the <head> section of an HTML page, using a <style> element.

    External Styling
    - This style sheet is ideal when the style is applied to many pages.
    - With this styling, the look of an entire web site can be changed by changing one file.
    - They are defined in an external CSS file, and then linked to in the section of an HTML page.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)