<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
New item has been created. View it here
HTML Color Mixer - 0 views
HTML Character Sets - 0 views
107More
HTML Reference - 0 views
-
<cite> Defines the title of a work
- ...103 more annotations...
-
<bdi>New Isolates a part of text that might be formatted in a different direction from other text outside it
-
<legend> Defines a caption for a <fieldset>, < figure>, or <details> element
-
<source>New Defines multiple media resources for media elements (<video> and <audio>)
-
<link> Defines the relationship between a document and an external resource (most used to link to style sheets)
Tryit Editor v1.5 - 0 views
4More
JavaScript Break and Continue Statements - 0 views
-
The break Statement The break statement will break the loop and continue executing the code that follows after the loop (if any).
-
<script type="text/javascript"> var i=0; for (i=0;i<=10;i++) { if (i==3) { break; } document.write("The number is " + i); document.write("<br />"); } </script>
-
The continue Statement The continue statement will break the current loop and continue with the next value.
- ...1 more annotation...
-
<script type="text/javascript"> var i=0 for (i=0;i<=10;i++) { if (i==3) { continue; } document.write("The number is " + i); document.write("<br />"); } </script>
8More
JavaScript Events - 0 views
-
Every element on a web page has certain events which can trigger a JavaScript. For example, we can use the onClick event of a button element to indicate that a function will run when a user clicks on the button. We define the events in the HTML tags.
-
Examples of events: A mouse click A web page or an image loading Mousing over a hot spot on the web page Selecting an input field in an HTML form Submitting an HTML form A keystroke
- ...5 more annotations...
-
Events are normally used in combination with functions, and the function will not be executed before the event occurs!
-
The onFocus, onBlur and onChange events are often used in combination with validation of form fields
3More
JavaScript Try...Catch Statement - 0 views
-
The try...catch Statement The try...catch statement allows you to test a block of code for errors. The try block contains the code to be run, and the catch block contains the code to be executed if an error occurs. Syntax try { //Run some code here } catch(err) { //Handle errors here } Note that try...catch is written in lowercase letters. Using uppercase letters will generate a JavaScript error!
-
The throw Statement The throw statement can be used together with the try...catch statement, to create an exception for the error
2More
JavaScript Throw Statement - 0 views
-
The Throw Statement The throw statement allows you to create an exception. If you use this statement together with the try...catch statement, you can control program flow and generate accurate error messages. Syntax throw exception
7More
JavaScript Special Characters - 0 views
-
Insert Special Characters The backslash (\) is used to insert apostrophes, new lines, quotes, and other special characters into a text string.
- ...4 more annotations...
-
Code Outputs \' single quote \" double quote \\ backslash \n new line \r carriage return \t tab \b backspace \f form feed
CSS Background - 0 views
Tryit Editor v1.4 - 0 views
HTML ISO Language Code Reference - 0 views
Franz Kafka - 0 views
View AllMost Active Members
View AllTop 10 Tags
- 67Learning
- 67Information
- 33Wiki
- 31Actors
- 25Bisexuality
- 25Education
- 21javascript
- 15Authors
- 14Libraries
- 13Extensions
- 10French
- 9Proofreading
- 8Technology
- 7Writing
- 7eBooks
- 6Atheism
- 6Teaching
- 5Fiction
- 4Education & Learning
- 4Selah