Friday, March 5, 2010

HTML : Images, Frame And Special Characters

We have learn more about HTML. We know that HTML is (H)yper(T)ext (M)arkup (L)anguage. HTML tags are elements of the HTML document used to specify how the document should be displayed by the browser. Attributes are associated with each tag to further define the tags. In HTML Format, we learned format font and format header. In HTML Table, we have know format TR and TD. And we have know about HTML list hand hyperlink.

In this section, we will know about HTML images, HTML frame and special characters. HTML Image write with <img>. The <img> tag is used to embed an image on the HTML document. The attributes are as follows:
src: The file path to the image file.
width: The width of the image, in pixels.
height: The height of the image, in pixels.
alt: The text the browser will display when visitors mouse over the image. Search engines often places more weight on the text in the alt attribute.

<frameset>
The <frameset> tag specifies the number of columns/rows on a frame. Note that you may embed a frameset within another frameset. The attributes include:
cols: Specifies the number of columns, as well as the width of each column. For example, cols="30%,70%" means that there will be two columns, the first column occupies 30% of the available space, while the second column occupies 70% of the available space.
rows: Specifies the number of rows, as well as the width of each row. For example, rows="40%,60%" means that there will be two rows, the first row occupies 40% of the available space, while the second row occupies 60% of the available space.

<frame>
The <frame> tag specifies the properties within a particular frame. The attributes include:
src: This attribute specifies the HTML document source.
marginwidth: The margin on the left and right side of the frame.
marginheight: The margin on the top and bottom of the frame.
scrolling: This attribute specifies whether users may scroll up and down within this frame. The possible values are {yes|no|auto}.
noresize: This attribute specifies whether users may resize the frame.
Note that search engines typically do not like the use of the frames. Therefore, please consider using the frame feature carefully.

Example 1

HTML:
<frameset cols="50%,50%">
<frameset rows="100%">
<frame src="frame1.html">
</frameset>
<frameset rows="50%,50%">
<frame src="frame2.html">
<frame src="frame3.html">
</frameset>
</frameset>

Display:


Special Characters

All special characters under HTML are listed below. To find out the code for a specific character, simply click on the character.



­ – — & ˆ ¡ ¦ ¨ ¯ ´ ¸ ¿ ˜ ‘ ’ ‚ “ ” „ ′ ″ ‹ › ‾ ⊕ − ⊗ ⁄ ∗ < > ± « » × ÷ ∀ ∂ ∃ ∅ ∇ ∈ ∉ ∋ ∏ ∑ √ ∝ ∠ ∧ ∨ ∩ ∪ ∫ ∴ ∼ ≅ ≈ ≠ ≡ ≤ ≥ ⊂ ⊃ ⊄ ⊆ ⊇ ⊥ ⋅ ⌈ ⌉ ⌊ ⌋ 〈 〉 ◊ ↑ ⇑ → ⇐ ⇒ ↓ ⇓ ← ↵ ↔ ⇔ ¢ £ ¤ ¥ § © ¬ ® ° µ ¶ · † ‡ • … ‰ ♠ ♣ ♥ ♦ € ¼ ½ ¾ ¹ ² ³ ∞ ª Á á À à  â Ä ä à ã Å å Æ æ Ç ç Ð ð É é È è Ê ê Ë ë ƒ ℑ Í í Ì ì Î î Ï ï Ñ ñ º Ó ó Ò ò Ô ô Ö ö Õ õ Ø ø Œ œ ℘ ℜ Š š ß Þ þ Ú ú Ù ù Û û Ü ü Ý ý ÿ Ÿ Α α Β β Γ γ Δ δ Ε ε Ζ ζ Η η Θ θ ϑ Ι ι Κ κ Λ λ Μ μ Ν ν Ξ ξ Ο ο Π π ϖ Ρ ρ Σ σ ς Τ τ Υ υ ϒ Φ φ Χ χ Ψ ψ Ω ω ℵ "





Thanks for reading.
Regards,
Kanghae

0 comments:

Post a Comment