html & CSS vocab


Tag = <p>, <div>, <css>


Tagname = p, div, css
Attribute = class, id, value, src, type
Element = Each line in html with a opening and a closing tag (<p>…</p>)
Selector + Declration block = CSS rule
pseudo-class = selector:pseudo-class (a:visited, a:hover etc.)
pseudo-element = selector::pseudo-element (p::first-line etc.)
Node = Everything in HTML ducument is a node. For example, document node, element node.

Labels: , ,

© copyright-2020 Rejaul