almost 9 years ago
Div:
(Try in text editor) <html> <head> <style> .div1 { width: 518px; color: navy; background-color: orange; border: 2px solid black; padding: 5px; } .div2{ width: 500px; color: navy; background-color: pink; border: 2px solid red; padding: 5px;} </style> <body> <div class="div1"> This is outer div. <div class="div2"> contains inner div. </div> </div> </body> </html>
Span:
(Try it in text-editor) <!DOCTYPE html> <html> <head> <style> span.text {font-size:50px;color:red;} </style> </head> <body> <h1>A <span class="text">Span</spa<!DOCTYPE html> <html> <head> <style> span.text {font-size:50px;color:red;} </style> </head> <body> <h1>A <span class="text">Span</span> Text</h1> <p>This is example of <span class="text">span</span> </p> </body> </html> <h1> Text</h1> <p>This is example of <span class="text">span</span> </p> </body> </html>
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Sign up using
0 Comment(s)