dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Does css be placed before meta tags or after

  1. #1
    Join Date
    Apr 2012
    Posts
    110

    Does css be placed before meta tags or after

    Hi, does the css style attributes go before or after meta tags, and do you put them in the head section, or in the body section, or is the body only for html. Do I also put style=text/css before meta tags.
    Just need to know the exact correct orders etc.

  2. #2
    Join Date
    Aug 2011
    Location
    Canada, ON
    Posts
    10
    after, it goes in the head.

    <head>
    <meta http-equiv="Content-Type" content=:text/html; charset=UTF-8" />
    <title> tester </title>
    <link href="tester.css" rel="stylesheet" type="text/css" />
    </head>

  3. #3
    Join Date
    Apr 2012
    Location
    London
    Posts
    12
    <head>
    <title>Your Title</title>
    <meta charset="utf-8">
    <meta name="description" content="Your description" />
    <meta name="keywords" content="Your keywords" />
    <meta name="author" content="Your name" />
    <link type="text/css" rel="stylesheet" href="css/style.css" />
    </header>

  4. #4
    Join Date
    Aug 2011
    Location
    Worthing, West Sussex
    Posts
    96
    Think you guys mean:

    HTML Code:
    <!DOCTYPE HTML>
    <html>
    <head>
    <title>Your Title</title>
    <meta charset="UTF-8">
    <meta name="description" content="Your description" />
    <meta name="keywords" content="Your keywords" />
    <meta name="author" content="Your name" />
    <link type="text/css" rel="stylesheet" href="css/style.css" />
    </head>
    Don't forget to include your document type!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles