More HTML
More HTML
<thead></thead>
<tbody></tbody>
6) HTML elements can have more than one class name, each class name must be
separated by a space.
Eg. <h2 class="city main">London</h2>
7) An HTML iframe is defined with the <iframe> tag.
Eg. <iframe src="URL" height=” ” width=” “></iframe>
8) *************imp***********************
If we take input in html under id=”qw” its value can be accessed as followed:
var a=document.getElementById(“qw”);
a.value
Must remember – inputs are of type string
9) Form:-
Default value of button : submit
Others: button and reset
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type
10) !important:-
Most important
https://stackoverflow.com/questions/9245353/what-does-important-mean-in-css
11) Span don’t have height and width.
For more see diff b/w inline – block and inlineblock.