I have written a website using HTML and CSS and, basically, I'm trying to get it to display now. The code is just a page of text and a few images. Currently when I go to the domain, the source code from start to finish is displayed instead of the actual content.
I just got cPanel hosting with godaddy (who naturally weren't of any help). I downloaded cyberduck. Uploaded the file containing the HTML text and called it index.html.
No CSS file was uploaded, not sure how to do that. I tried saving a file containing the CSS code as .css, but TextEdit wouldn't let me do that. Obviously that code also has to be added, which might be the issue. On cyberduck it says there is a file called layout-style.css, perhaps I should edit that and add my CSS code to it?
Possibly the top few lines of the HTML code are missing some important command?:
`<!DOCTYPE html>
<html lang="en">
<div class= top>
.
</div>
<head>
<div class = enterprise>
<p> text goes here </p>
</div>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>`
Also, does Bootstrap have to be installed anywhere?
I appreciate your responses.
Aucun commentaire:
Enregistrer un commentaire