HTML Basics
I know that:
- inline styles override all others.
- index.html is one of the industry standard default file names, as well as index.htm, index.php, index.asp, index.aspx and more.
- iframes are used to embed documents within other documents.
-
CSS files are linked by using the following code:
<link rel="stylesheet" type="text/css" href="../css/main.css">
-
JS files are linked by using the following code:
<script type="text/javascript" src="scripts/scripts.js"></script>
-
Adding the date when the window loads:
// onload of window
window.onload = dateInsert;
-
Ternary operators work by using:
[condition] ? [value if true] : [value if false]
- The later a CSS file is imported, the more power it has over the document - i.e. the last stylesheet imported will overwrite the styling in all of the other stylesheets.
_____AREA_OF_STUDY_____ Presentation