<html> <head> <title>Program-3</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <h2 id="heading">PROGRAM 3</h2> <h3 id="h2">GIVING DIFFERENT STYLE USING CSS</h3> <hr id="line"> <p id="para"> Internal - by using a style element in the head section External - by using a link element to link to an external CSS file The most common way to add CSS, is to keep the styles in external CSS files. </p> <div id="mydiv"> <h2>CSS</h2> <p> CSS stands for cascading syle sheet that is used to style the webpage </p> <span id="span">CSS IN HTML</span> </div> <p>The website will be working from <time id="time">10.00</time> am to <time id="time">04.00</time> pm</p> <img src="image.png" id="img"><br> Click <a href="https://www.youtube.com">here</a> to open YouTube </body> </html>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter