Professional Documents
Culture Documents
<html>
<head>
This contains META-TAGS(info about displayed informations)
</head>
<body>
This contains graphical elements
</body>
</html>
HTML TAGS
Structure:
<TAGNAME>tag content</TAGNAME>
< SELF_CLOSING_TAGNAME>
Tag attributes
STYLING
Styling types:
Inline( in the tag, using the style attribute)
<div class="section" style="color: red; font-size: 24px">
Internal(using the style tag, in the head section of the page; WE USE CSS
SELECTORS)
<style>
.section{
………………..
}
</style>
External(selectors are placed in an external file); the href attribute value contains the
path to the external file! ; WE USE CSS SELECTORS)
<link rel="stylesheet" href="style.css">
CSS SELECTORS(rules)
Tag selectors
Ex: h1{
}