-5

I have HTML file and a CSS file and I want to add the to wix which accepts only HTML code when I add the code of the HTML file it gives in the live website me what I want but without any design just a text.

The question is how do I emerge the HTML and the CSS files to make one HTML code & add it to wix Here is what I get when I post the code on Wix

I need this design on wix

zett42
  • 25,437
  • 3
  • 35
  • 72
Saad Zyada
  • 1
  • 1
  • 1
  • What have you tried so far? [How do I ask a good question?](https://stackoverflow.com/help/how-to-ask). – Paolo Apr 03 '19 at 13:11

1 Answers1

0

You can use the <style> tag and put your CSS inside. For example:

<html>
  <head>
    <style>
      h1 {
        color:red;
      }

      p {
        color:blue;
      }
    </style>
  </head>
  <body>
    ...
  </body>
</html>

Or you can write inline styles directly in your HTML elements, like:

<h1 style="color: red;">
  Hello
</h1>
Giu Magnani
  • 448
  • 1
  • 3
  • 12