C# Programming: How to use style or css in HTML | Learn HTML5

Sunday, June 10, 2018

How to use style or css in HTML | Learn HTML5





To use style or css in html we must use a style tag inside any tags like body or p tag.



code:

<!DOCTYPE html>

<html>

<head>

<title>Styling in html</title>

</head>

<body style="background-color: red;color:blue;">

noting here

</body>

</html>

No comments:

Post a Comment