Jump to content
Sign in to follow this  

How to put html and css in the same document

Recommended Posts

Hi guys

I have uploaded a document with html and css in the file manager of my Wordpress blog.

The html is the image of horse and the css is used to turn the horse into a galloping horse.

Unfortunately, the code doesn't work on my blog as it does on codepen https://codepen.io/dannyku18/pen/yLYJXMV

I think the connection between html and css is missing. How can I make this code work?



html and css in one file.png

Share this post

Link to post
Share on other sites

Sorry , I didn't understand your question. But I say as much as I understand.

You should link your css in html document using <Link> tag.

Or put your css under the <head> tag in <Style> tag.

I think that's the problem.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...