Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8105227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:06:26+00:00 2026-06-06T00:06:26+00:00

I was observing my HTTP headers for css files and noticed both stylesheets <link

  • 0

I was observing my HTTP headers for css files and noticed both stylesheets

<link type="text/css" rel="stylesheet" href="css/stuff1.css">
<link rel="stylesheet" href="css/stuff2.css">

had the following Content-Type: text/css in their HTTP headers. Is it the server that is guessing the Content-Type?

Also – what is the purpose of declaring the mime type in the <link> tag if the server is going to determine what the mime type is anyways?

I’m running ubuntu 12.04 and apache2

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:06:29+00:00Added an answer on June 6, 2026 at 12:06 am

    I don’t think so the type attribute is required for a <link> tag. The HTML 4.01/HTML 5 specs state it to be an “advisory” hint as to the content type of the content available at the link target address.

    The HTML 5 spec says –

    If the attribute is omitted, but the external resource link type has a default type defined, then the user agent must assume that the resource is of that type.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that uses ASI-HTTP-Request for large files, and I had a
From observing source code for various Android applications (not written by me), I noticed
I have outbound links like this in my html: <a href=http://www.example.com class=gaLink1 target=_blank onCLick=ga_track_link('action',
I am observing, on both Firefox and IE, that if I have a cookie
When working with a custom NSOperation subclass I noticed that the automatic key-value observing
I'm observing a directory with several log files. What I'm interested in, are files
I am observing a crash while calling the CMemFile::Detach() function The exception with the
We are observing 4-6 threads on Windows 7 x64 in the application which have
I'm using key value observing on a boolean property an NSObject method: -(void)observeValueForKeyPath:(NSString *)keyPath
I started dealing with NSOperations and (as usual with concurrency) I'm observing strange behaviour.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.