Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

Help Me/Question How To Use Inline,embedded And External Css

Discussion in 'CSS and CSS3 Coding Discussions' started by Doominic anderson, Feb 6, 2016.

  1. Doominic anderson

    Yellow Belt

    Jan 30, 2016
    +21 / -0
    Css is used with html to describe appearance and formatting of web document written in html.
    Css has a list of rules which consist of one or more selectors and a declaration block.

    My question is how Inline.Embedded and External Css are used with html,if you can give example it helps a lot.

    Yellow Belt

    Feb 13, 2016
    +20 / -0
    Inline Styles :- Inline style used for a unique style for a single element.
    Example of Inline style:-
    <h1 style="margin-top: 60px; color: white;">IHeading of your Webpage</h1>
    An internal style sheet used for if one single page has a unique style. In other word internal is known as embedded.
    Internal styles are defined as <style> tags, Inside the <head> section of an HTML page.
    Example For embedded:
    body { background-color: White;}
    h1 { color: Red; margin-left: 20px;}
    External Style Sheet :-It is used as an external style sheet, By changing one file.
    Each page must include a external style sheet with .css extension.
    Example of External style sheet:-
    <link rel="stylesheet" type="text/css" href="style.css">

Share This Page