Tools, FAQ, Tutorials:
HTML 'style' Tag/Element
What Is an HTML "style" Tag/Element?
✍: FYIcenter.com
A "style" element is an optional sub-element of the "head" element. A "link" element is used to specify Cascading Style Sheet (CSS) entries. Here is good example of a style element:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>My Second CSS Example</title> <style type="text/css"> body {background-color: #dddddd} </style> </head> <body> <p>Hello world!</p> </body> </html>
If you save the above document as hello.html, and view it with Internet Explorer, you will see a gray background specified by the CSS entry in the "style" element.
⇒ HTML Body Tag and Block Level Tags
2024-01-10, 1245🔥, 0💬
Popular Posts:
How to validate the id_token signature received from Azure AD v2.0 authentication response? You can ...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How To Copy Array Values to a List of Variables in PHP? If you want copy all values of an array to a...
How to attach console to a Running Container using the "docker container exec" command? I want to ge...
How To Open Standard Output as a File Handle in PHP? If you want to open the standard output as a fi...