These are examples of inline CSS styles.

This method is usually used as a workaround, as it's similar to old HTML attributes and doesn't consolidate code. The rule of CSS is that the closest rule wins, so this tends to override linked, imported, or other CSS definitions in the page.