GREEN UNIVERSITY OF
BANGLADESH
Submitted by
NAME
ID
BATCH
: MD. Rasel Dewan
: 130102027
: CSE
Submitted to
Name
rana
Lecture
Dept : CSE
: Mr. Humayan Kabir
TOPIC
HTML BASICS AND CSS
HTML ?
Is set of Markup tags for describing web page.
HTML BASIC STRUCTURE
<html>
// Describes the Web Page.
<head>
</head>
<body>
// The Visible Page Content .
<h1>Rasel Dewan</h1>
// Displayed as a heading .
<p> gasgdgagsggd </P>
// Displayed as a paragraph
</body>
</html>
SOME HTML TAG
<b>
<em>
<i>
<small>
<big>
<sub>
<sup>
<del>
<mark> // etc.
What is CSS ?
Defines How to HTML elements are Displayed.
CSS Syntax :
h1{color: red;font-size:12px;}
CSS Background Attributes
Background-color : red/#cococo/rgb(255,0,0)
Background-image : url([Link])
Background- attachment: fixed
Background-repeat : no repeat/repeat-x/repeat-y
Background-position : center/right top/10px 20px
Three Ways to Insert CSS
External Style Sheet
We can change the look of an entire web by changing just one file.
<head>
<link rel=styleshheet type=text/css herf=[Link]>
</head>
Internal Style Sheet
we define internal style in the head section of an html
page, inside the <style>tag.
<head>
<style>
body{ background- color: green;}
h1{ color: red;}
</style>
</head>
Three Ways to Insert CSS
Inline Style Sheet
An inline style should be used when a single tag has a unique
style.
<h1 style=color:red;margin-left:30px;>Rasel</h1>
STYLEING LINKS
The Four States are:
a:link
a:visited
a:hover
a:active
THANKS