<LINK rel='"stylesheet"' href="http://flipper-uppers.co... type="text/css" media="all"/>?

  • Follow publicly
  • Follow privately
  • Unfollow
is this correct ' "stylesheet" ' of just "stylesheet" with no extra '

thanks al
Update : what about this one

<link rel='stylesheet' id='screen.css'href='http://flipmysite.c... type='text/css' media='all' />

Why the Id='' ehats that for?

thanks again all
Update 2: whats the

ID='' for ? what is it used for?
Best Answer
with no extra ' is right, you can do both of these 'stylesheet' or "stylesheet"
  • Rate
  • Comment

Other Answers (1)

  • thokling answered 3 years ago
    In HTML, things like "rel" and "id" and "href" are called "attributes". The "link" thing is a tag. All of it together is an element.

    Elements are made up of tags and attributes, in other words. Now, each attribute must be separated by spaces.

    "ID" is used by scripts (like JavaScript) to identify the element so that scripts can access the information inside.

    You can use single or double quotes, but make sure they match up. For instance, this is okay:

    <link rel='stylesheet' id="screen.css" ... />

    However, this is incorrect:

    <link rel='stylesheet" id="screen.css' ... />

    I think that about does it.
    • Rate
    • Comment
  • Sign In 

    to add your answer

Who is following this question?

    Member Since:
    Points: Points: Level
    Total Answers:
    Points this week: