+ 2
we can use css in 3 ways 1.) inline 2.) internal 3.) external INLINE - we use style attribute in any tag to set its properties. <img src="image.png" style="margin-left:30px;"> INTERNAL - we use style tag under head tag and then specifies values for each tags. <head> <style> p{ align-text:right; font-size:30px; } <\style> </head> <body>"> </head> EXTERNAL - here we make a external file and oink it into our html file <head> <link rel="stylesheet" type="text/css" href="style.css"> </head>
27th Nov 2016, 5:59 AM
Dhruv Saxena
Dhruv Saxena - avatar