Download slides # 5 html

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Cascading Style Sheets wikipedia , lookup

URL redirection wikipedia , lookup

Transcript
Hyper Text Markup
Language (Html)
What is HTML?
HTML is a language for describing web
pages.
• HTML stands for Hyper Text Markup Language
• HTML is not a programming language, it is a
markup language
• A markup language is a set of markup tags
• HTML uses markup tags to describe web
pages
HTML Tags
HTML markup tags are usually
called HTML tags.
• HTML tags are keywords surrounded by
angle brackets like <html>
• HTML tags normally come in pairs like <b>
and </b>
• The first tag in a pair is the start tag, the
second tag is the end tag
• Start and end tags are also called opening
tags and closing tags
HTML Documents = Web Pages
• HTML documents describe web pages
• HTML documents contain HTML tags and
plain text
• HTML documents are also called web pages
The purpose of a web browser (like
Internet Explorer or Firefox) is to read HTML
documents and display them as web pages.
Browsers does not display the HTML tags,
but uses the tags to interpret the content of
the page.
What You Need
You don't need any tools to learn HTML.
• You don't need an HTML editor.
• You don't need a web server.
• You don't need a web site.
Editing HTML
• HTML can be written and edited using
many
different
editors
like
Dreamweaver and Visual Studio.
• However, we can use a plain text
editor (like Notepad) to edit HTML.
Peoples believe using a plain text
editor is the best way to learn HTML.
W3school Reference Material.
•
Note: Some of the important tags along with its
properties is given to you in a separate html tag sheet (a
.pdf document).
HTML Controls vs Asp.Net Controls:
The ASP .NET Server Controls are more rich
in functionality as compared to their HTML Server
Control. ASP.NET Server Control is more advanced
control and have more properties compared to HTML
Server Controls. Both controls memory is created at
Server. Let's take a look at some other differences that
exist between these controls.
Advantages:
1. The HTML Server Controls have no mechanism of
identifying the capabilities of the client browser
accessing the current page.
ASP .NET Server Controls can however detect
the target browser's capabilities and render themselves
accordingly.
2. Newer set of controls that can be used in the same
manner as any HTMl control like Calender controls.
3. Processing would be done at the server side. In built
functionality to check for few values (with Validation
controls) so no need to choose between scripting
language (i.e. server or client) which would be
incompatible with few browsers.
4. The HTML Server Controls follow the HTML-centric
object model.
ASP .NET Server Controls have an object model
different from the traditional HTML which provide a set of
properties and methods that can change the outlook and
behavior of the controls.
5. ASP .NET Server Controls have higher level of
abstraction. An output of an ASP .NET server control
can be the result of many HTML tags that combine
together to produce that control and its events.
6. Dot.NET Server controls will have events, where as
HTML server controls does not have events.
Disadvantages:
The control on these controls is inbuilt so you don’t
have much (control / access) on these controls.
Conclusion:
Despite the differences you can still use these
controls together by mixing them in an ASPX form or page.
These controls are used together in the build up of asp.net
web applications.