Styling in HTML and CSS
Html and css
§ Style and appearance elements
§ Strong(emphasis) :-
This tag use for dark the words in
our docoments
Its tag is <stromg> </strong>
For example—
<html>
<head>
<title>hello</title>
</head>
<body>
<strong> hello
world</strong>
</body>
</html>
Output—
hello world
§ Emphasis (em) :-
This tag is use for change the style
of words in project , the tag <em>
</em> is use for this .
For example—<html>
<head>
<title>hello</title>
</head>
<body>
<em> hello world</em>
</body>
</html>
Output— hello world
§ Citation(cite) :-
For example—
<html>
<head>
<title>hello</title>
</head>
<body>
<cite> facebook
</cite>,by mark zuckerberg
</body>
</html>
Output—
facebook ,by mark
Zuckerberg
§ Computer code(code) :--
This type of tag use for
perticular location , and address in
your computer .
For example—
<html>
<head>
<title>hello</title>
</head>
<body>
<code> cd/home/user/data/public
</code>
</body>
</html>
Output—
cd/home/user/data/public
§ Bold (b) :-
This tag is use for the bold
word in project.
For example—
<html>
<head>
<title>hello</title>
</head>
<body>
<b> food is importent for body</b>
</body>
</html>
Output—
food is
importent for body
§ Italic (i) :-
Example—
<html>
<head>
<title>hello</title>
</head>
<body>
<i>Books
are like mirror</i> ; if a fool
looks in you cannot expect a genius look out
</body>
</html>
Outpot—
Books are like mirror ; if a fool looks in you cannot expect a genius look
out
§ Underline (u) :-
This
tag is use for underline the important words in our project.
For
example—
<html>
<head>
<title>hello</title>
</head>
<body>
<u>Books
are like mirror</u>
</body>
</html>
Output—
Books are like mirror
§ Fixed font (tt) :-
For
example—
<html>
<head>
<title>hello</title>
</head>
<body>
<tt>Books
are like mirror</tt>
</body>
</html>
Output—
Books
are like mirror
§ Font appearance(font) :-
This
tag is usefully for colored the words .
For
example—
<html>
<head>
<title>hello</title>
</head>
<body>
<font size="+4"
color="green">colored text </font>
<font size="-1" color
"red"> text color</font>
</body>
</html>
Output—
colored text text color
No comments