0% found this document useful (0 votes)
20 views1 page

More HTML

The document provides information on various HTML elements and concepts including: <sub> and <sup> for subscript and superscript, <mark> for highlighting text, target attributes for links, the <table> element and its <caption>, using multiple class names separated by spaces, the <iframe> element, accessing input values by ID, form buttons and their types, the !important rule in CSS, characteristics of <span> versus block elements, and using border-radius to round borders. It also links to resources on W3Schools and Stack Overflow for further details.

Uploaded by

Harish Jaglan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

More HTML

The document provides information on various HTML elements and concepts including: <sub> and <sup> for subscript and superscript, <mark> for highlighting text, target attributes for links, the <table> element and its <caption>, using multiple class names separated by spaces, the <iframe> element, accessing input values by ID, form buttons and their types, the !important rule in CSS, characteristics of <span> versus block elements, and using border-radius to round borders. It also links to resources on W3Schools and Stack Overflow for further details.

Uploaded by

Harish Jaglan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1) Subscript : <sub> </sub>

Superscript: <sup> </sup>


2) Highlight text : <mark> </mark>
3) W3schools- html- link section
4) target attribute can have one of the following values:
 _blank - Opens the linked document in a new window or tab
 _self - Opens the linked document in the same window/tab as it was
clicked (this is default)
 _parent - Opens the linked document in the parent frame
 _top - Opens the linked document in the full body of the window
 framename - Opens the linked document in a named frame
eg. <a href="https://www.w3schools.com/" target="_blank">Visit W3Schools!</a>

The title attribute specifies extra information about an element. The


information is most often shown as a tooltip text when the mouse moves over
the element.
Eg. <a href="https://www.w3schools.com/html/" title="Go to W3Schools HTML
section">Visit our HTML Tutorial</a>
5) table caption:
<table>
<caption> </caption>
</table>

<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.

12) “border-radius: ” to have rounded border

You might also like