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

This will produce the following result:<br />

Hello, World!<br />

Note: To learn about how Cascading Style Sheet works, kindly check a separate <strong>tutorial</strong><br />

available at http://www.<strong>tutorial</strong>spoint.com/css<br />

The HTML Tag<br />

The HTML tag is used to include either external script file or to define internal<br />

script for the HTML document. Following is an example where we are using JavaScript to<br />

define a simple JavaScript function:<br />

<br />

<br />

<br />

HTML script Tag Example<br />

<br />

<br />

function Hello(){<br />

}<br />

alert("Hello, World");<br />

<br />

<br />

<br />

<br />

<br />

<br />

This will produce the following result, where you can try to click on the given button:<br />

Note: To learn about how JavaScript works, kindly check a separate <strong>tutorial</strong><br />

available at: http://www.<strong>tutorial</strong>spoint.com/javascript<br />

127

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

Saved successfully!

Ooh no, something went wrong!