<!DOCTYPE html>
<html>
    <head>
        <link type='text/css' rel='stylesheet' href='style.css'/>
        <title>Get Started!</title>
    </head>
    <body>
        <p><?php echo ""; ?></p>
    </body>
</html>

I thought css needed to be imbeded or linked from the <sript> tag?

Recommended Answers

All 3 Replies

CSS inclusion above is correct. <script> is for Javascript.

<script type="text/javascript" src="put the path of javascript file here"> </script>

If you include an external js file, you should do so after the reference to your external stylesheet.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.