'Something is wrong with my HTML code, how could I fix it? [closed]
Here is my code:
<p>Welcome to our WEBSITE! style="font-size: 55pt;"</p>
Solution 1:[1]
Change your code to:
<p style="font-size: 55pt;">Welcome to our WEBSITE!</p>
The style attribute must be in the opening tag itself.
Solution 2:[2]
Your style attribute is at the wrong place, Do this instead:
<p style="font-size: 55pt";>Welcome to our WEBSITE!</p>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Neom |
Solution 2 | Hymandois |