HTML markup
CSS rules
JavaScript code
JS libraries
Images
Other resources
Fonts, audio, video, Flash, Silverlight, etc...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<!-- The place visible to the end user -->
<h1>
Title here
</h1>
<div>
My text here
</div>
</body>
</html>
Tag | Meaning |
---|---|
<b></b> | bold |
<i></i> | italiazed |
<u></u> | underlined |
<sup></sup> | superscript |
<sub></sub> | subscript |
<strong></strong> | strong (same result as bold but different meaning to the browser) |
<em></em> | emphasized (same as italized but different meaning to the browser) |
<pre></pre> | preformatted text |
<a href="https://telerikacademy.com/" title="Telerik">Link to Telerik Web site</a>
<img src="logo.gif" alt="logo" />
This text is <em>emphasized.</em>
<br />new line<br />
This one is <strong>more emphasized.</strong>
<form name="myForm" method="post" action="path/to/some-file">
...
</form>
<input type="text" name="FirstName" value="This is a text field" />
<textarea name="Comments">
This is a multi-line text field
</textarea>
<input type="password" name="pass" />
<input type="reset" name="resetBtn" value="Reset the form" />
<input type="submit" name="submitBtn" value="Submit" />
<input type="button" value="Apply Now" />
<input type="checkbox" name="fruit" value="apple" />
<input type="radio" name="title" value="Mr." />
<select name="gender">
<option value="Value 1"
selected="selected">Male</option>
<option value="Value 2">Female</option>
<option value="Value 3">Other</option>
</select>
<select name="products" multiple="multiple">
<option value="Value 1"
selected="selected">keyboard</option>
<option value="Value 2">mouse</option>
</select>
<input type="email" required="true" />
<input type="url" required="true" />
<input type="tel" required="true" />
<input required="true" pattern="[^ @]*@[^ @].[^ @]"/>
<iframe
width="1280"
height="720"
src="https://www.youtube.com/embed/kJQP7kiw5Fk"
frameborder="0"
allowfullscreen>
</iframe>