HTML - shortcut styling

HTML

Built-In HTML Styling

Occasionally some developers do this, when they want to style a specific element with no css-only file:

When something specific is needed to be designed, its typically used the built in "style" attribute in HTML pages.

Using "style" tags in HTML

This one here is a common way to style your website page if you want to keep all code in one file:

We just use the "style" tag to define our styling workplace in HTML.

Putting The "style" Tag in "body" Tags

The last way is more risky, but you could also put the styling place into "body" tags:

Some developers put the styling into the "body" section. Though, its recommended that we put it into the "head" tags, so it loads the style faster into the site.