- Div - Formatting of Block Text
The <div> Tag provides easy way to refer a block text.This element is very important when you are applying styles to block of text.
Ex:
<div align = "center">
Programming Languages for Beginners <br />
Priyal Kulathilake
SriLanka
</div> - Span Formatting Inline Text
The <span> element selects inline text to apply styles.
Ex :
<div align = "center">
This is my Blog Site <span style = "color : Blue">Programming for Languages Beginners
</span> for the absolute beginners of Web Programming </div>
Out put:This is my Blog Site Programming Languages for Beginners for the absolute beginners of Web Programming - Blink
Displays enclosed text as blinking on and off approximately once a second.
Ex:
<blink style = "color : Blue">Programming Languages for Beginners</blink>
Output - Marquee
Displays scrolling text in a marquee style. That displays a moving banner.
Ex:
<marquee align = "left" loop = "infinite" behavior = "bounce" bgcolor = "orange" direction = "right" style = "color : Blue">Programming Languages for Beginners</marquee>
direction: direction of the moving text
Ex: Left to Right, Top to bottom
behavior : behaviour of the marque
Ex: Scroll, Slide, Alternate, Bounce
This blog supports beginners to get deep knowledge about programming in HTML, CSS, JavaScript, php, asp and other Web technologies and VB, VB.net, Java,step by step from the beginning. All the programming Concepts discuss with simple examples for the readability. Try out daily uploaded lessons to be a Programmer.
HTML - Text Formatings
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment