Home Web Front-end Front-end Q&A What is the markup in HTML that represents inline CSS styles?

What is the markup in HTML that represents inline CSS styles?

Jun 18, 2020 am 11:43 AM

What is the markup in HTML that represents inline CSS styles?

#What is the tag that indicates inline css style in html?

html indicates inline The mark of css style is

Write css inside the html file, which is called embedded Embedding (also called inner page style ), which creates an embedded style sheet on the web page.

The internal style sheet is as follows:

<head>
<style type="text/css">  
    body {background-color: red}  
    p {margin-left: 20px}
</style>  
</head>
Copy after login

When a single file requires special styling, the internal style sheet can be used. Internal style sheets can be defined in the head section via the