1. HTML (Hyper Text Markup language)
• HTML is used for defining layout of a page.
• We use HTML tags to define looks and feel of
a website.
• HTML tag is parent of head and body.
•Most of HTML elements have opening and
closing tags with content in between.
•Some tags have no content in between like <br>
3. BASIC HTML TAGS
Heading Tags
Paragraph Tags
Anchor Tags Image Tags
Bold, italic and
underline Tags
BIG and
SMALL Tags
4. CSS(Cascading Style Sheet)
• It is language that is used to describe the style
of a documents.
• CSS is one of the main three components of a
webpage along with HTML and JavaScript.
5. How to Add CSS to HTML?
1. Inline CSS
• Use the
style attribute on
the
HTML element
to add styles to
the web page.
• It is used for
small projects.
2. Internal CSS
• Place the
CSS styles within
a <style> tag
inside the
HTML file, usually
inside the
<head> section.
3. External CSS
• Create a
separate CSS file
with a .css
extension and
link this file to
your HTML file
using the
<link> tag.
6. SOME CSS PROPERTY
COLOR
properties
BACK_GROU
NDproperties
TEXT Properties SELECTOR
properties
Color : red; Background-
color : red;
TEXT-ALIGN :
LEFT/ RIGHT
UNIVERSAL
Selector *{}
Color: green; Background-
color : pink;
Text-Decoration :
underline/
overline
Element
Selector
h1{}
Color : blue; Background-
color : red;
ID Selector
#myID{}
Color: pink; Background –
color : blue;
Class
Selector .my
class{}