JavaScript

Cards (13)

  • Inline - by using  the style attribute inside HTML elements.
  • Internal - by using a <style> element in the <head> section.
  • External - by using a <link> element to link to an external CSS file.
  • Cascading style sheets - is use to format the layout of the webpage. It save a lot of work. It can controll the layout of multiple web pages all at once.
  • An Inline CSS - is used to apply a unique style to a single html element. the style attribute of an HTML element.
  • An internal CSS - is used to define a style for a single html page within a <style> element.
  • An external CSS - is used to define a style for many html pages.
  • The CSS color property - defines the text color to be use.
  • The CSS font-family property - defines the font to be used.
  • The CSS font-size property - defines the text size to be used.
  • The CSS border property - defines a border around html elements. You can define a border from nearly all HTML elements.
  • The CSS padding property - defines a adding (space) between the text and the border.
  • The CSS margin property - defines the margin (space) outside the border.