Full HTML
Full HTML
Full HTML
Ex.
Ms-Word, PageMaker, Photoshop etc
Technologies are- C,C++,VB,VB.NET,C#,
Java(Swing,AWT,JDBC)
2. Web Development- The Applications which
executes under a web server are known as web
applications. During development each technology
requires their own web server. These are-
• Example
• <a href="https://www.w3schools.com">Visit
W3Schools</a>
HTML Comment Tags
Notice that there is an exclamation point (!) in the start tag, but
not in the end tag.
• Example
<!-- This is a comment -->
<p>This is a paragraph.</p>
• Example
• This example shows how to create a link to google.com:
• <a href="https://www.google.com/">Visit google.com!</a>
Example
Use target="_blank" to open the linked document in a new browser window or
tab:
Example
Syntax
<img src="url" alt="alternatetext">
Example
• <img src="img_girl.jpg" alt="Girl in a jacket" width="500" height="600">
HTML Image Maps
• The HTML <map> tag defines an image map. An image map is an image
with clickable areas. The areas are defined with one or more <area> tags.
Example:-
Here is the HTML source code for the image map above:
<map name="workmap">
<area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm">
<area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
<area shape="circle" coords="337,300,44" alt="Coffee" href="coffee.htm">
</map>
HTML Marquee Tag
• The <marquee> tag is a container tag of HTML is implemented for
creating scrollable text or images within a web page from either left
to right or vice versa, or top to bottom or vice versa. But this tag
has been deprecated in the new version of HTML, i.e., HTML 5.
• Attributes
1. behavior- it may be scroll or alternate
2. direction- sets the direction may be left, right, up, down.
Example
<marquee direction="right" behavior="alternate">
<h1>United College</h1>
</marquee>
HTML Lists
HTML Lists
• HTML lists allow web developers to group a set of related
items in lists.
Example
An unordered HTML list:
Item
Item
Item
Item
An ordered HTML list:
1. First item
2. Second item
3. Third item
4. Fourth item
Attribute-
type- specifies the list type
for numbering use (A,a,I,i etc)
for bullets use (sqaure,circle)
Tag Description
<table style="width:100%">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
</table>
HTML Forms
HTML Forms
• An HTML form is used to collect user input. The user input is most often
sent to a server for processing.
The <form> element is a container for different types of input elements, such as: text
fields, checkboxes, radio buttons, submit buttons, etc
The <input> Element
• The HTML <input> element is the most used form element.
• An <input> element can be displayed in many ways,
depending on the type attribute.
• Here are some examples:
Type Description
<input type="text"> Displays a single-line text input field
<input type="radio"> Displays a radio button (for selecting one
of many choices)
Example 1:-
<div>Hello World</div>
Here are the block-level elements in HTML:
• <form>
• <address> • <h1>-<h6>
• <article> • <header>
• <aside> • <hr>
• <blockquote> • <li>
• <canvas> • <main>
• <dd> • <nav>
• <div> • <noscript>
• <dl> • <ol>
• <dt> • <p>
• <fieldset> • <pre>
• <figcaption> • <section>
• <figure> • <table>
• <footer> • <tfoot>
• <ul>
Inline Elements (SPAN)
• An inline element does not start on a new line
and it only takes up as much width as necessary.
• This is a <span> element inside a paragraph.
Example
<span>Hello World</span>
Here are the inline elements in HTML:
• <a> • <label>
• <abbr> • <map>
• <acronym> • <object>
• <b> • <output>
• <bdo> • <q>
• <big> • <samp>
• <br> • <script>
• <button> • <select>
• <cite> • <small>
• <code> • <span>
• <dfn> • <strong>
• <em> • <sub>
• <i> • <sup>
• <img> • <textarea>
• <input> • <time>
• <kbd> • <tt>
HTML frames
Frame
• Frame- Frame is used for splitting the window into different
individual parts. and each part you can embed a new html page.
• Tags Meaning
<frameset> Creates a frame
Attributes
1. rows - creates horizontal frame
2. cols- create vertical frame
<frame> creates individual window
Attributes
1. src- sets the name of file which will
show in the window
2. name- sets the name of window
Example
<frameset cols="40%,30%,30%">
<frame src="demo.html" name="f1">
<frame src="" name="f2">
<frame src="" name="f3">
</frameset>
HTML Iframes
HTML Iframes
Example
• The text between the <video> and </video> tags will only be
displayed in browsers that do not support the <video> element.
HTML Audio
Example
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
HTML Audio - How It Works
• If you use the less than (<) or greater than (>) signs in your text,
the browser might mix them with tags.
&entity_name;OR
&#entity_number;
• To add such symbols to an HTML page, you can use the entity name or the
entity number (a decimal or a hexadecimal reference) for the symbol.
Example
<meta charset="UTF-8">
Example:-
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
</body>
</html>
Some Emoji Symbols in UTF-8
Emoji Value
🗻 🗻
🗼 🗼
🗽 🗽
🗾 🗾
🗿 🗿
😀 😀
😁 😁
😂 😂
😃 😃
😄 😄
😅 😅
DHTML