Computer Science, asked by poonamjaiswal34491, 4 months ago

definition of inline css
internal css
external css​

Answers

Answered by Anonymous
6

▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃

  • An inline CSS is used to apply a unique style to a single HTML element. An inline CSS uses the style attribute of an HTML element.

  • An internal CSS is used to define a style for a single HTML page. An internal CSS is defined in the <head> section of an HTML page, within a <style> element. The following example sets the text color of ALL the <h1> elements (on that page) to blue, and the text color of ALL the <p> elements to red.

  • An external stylesheet is a standalone . css file that is linked from a web page. The advantage of external stylesheets is that it can be created once and the rules applied to multiple web page.

▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃▃

Answered by Guru181
1

Answer:

Here's the recap: Internal or embedded ⁠— add <style> tag in the <head> section of HTML document. External ⁠— link the HTML sheet to a separate . css file. Inline ⁠— apply CSS rules for specific elements.

An external stylesheet is a standalone . css file that is linked from a web page. The advantage of external stylesheets is that it can be created once and the rules applied to multiple web pages. ... Inline styles relate to a specific HTML tag, using a style attribute with a CSS rule to style a specific page element.

Similar questions