13.02.2018 Views

html_tutorial pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

HTML<br />

ctx.fillStyle='#00FD00';<br />

ctx.fillRect(0,0,200,60);<br />

<br />

<br />

<br />

This will produce the following result:<br />

Global Attributes<br />

This tag supports all the global attributes described in - HTML Attribute Reference<br />

Specific Attributes<br />

The HTML tag also supports the following additional attributes:<br />

Attribute Value Description<br />

height pixels Specifies height of the canvas.<br />

width pixels Specifies width of the canvas.<br />

Event Attributes<br />

This tag supports all the event attributes described in - HTML Events Reference<br />

Browser Support<br />

Chrome Firefox IE Opera Safari Android<br />

Yes Yes Yes Yes Yes ?<br />

HTML Tag<br />

Description<br />

The HTML tag is used for creating a caption for a table. There could be only one<br />

caption per table.<br />

Example<br />

<br />

<br />

182

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!