Learning HTML - part 1
HTML stands for Hyper Text Markup Language,
HTML has tags. <a> is an example of such tag. There is opening and closing HTML tags. / character denotes closing of HTML tag. For example </a> will indicate closing of <a> tag.
HTML tags may include attributes. For example <a> tag may include href attribute, which will indicate which page to open when this is link is clicked. Attributes indicate additional information for the HTML tags.
HTML element is a text that is in between opening and closing HTML tags.
HTML document contains forms, images, tables and links to other documents.
HTML document has parent - child structure. Where the top element is known as a parent of an element that is contained in it.
For example <body> tag is a parent of <h1> and <h2> elements.
HTML elements that exist on the same level are siblings.
If HTML is responsible for location of the elements, then CSS is responsible for how these elements will look like. CSS stands for Cascading Style Sheet.
CSS has style, which
Selector is a type of element this style will be assigned to.
Properties are the characteristics of the element.
Values represent what are the characteristics of the property. Yes, it is possible to have multiple values. For example body font may be of one kind, if that font does not exist in the system, then next font will be used.
Comments
Post a Comment