Search Box

Friday 22 July 2011

Introduction To Html


HTML (Hypertext Markup Language) is used to create document on the World Wide Web. It is simply a collection of certain key words called ‘Tags’ that are helpful in writing the document to be displayed using a browser on Internet. It is a platform independent language that can be used on any platform such as Windows, Linux, Macintosh, and so on.To display a document in web it is essential to mark-up the different elements (headings, paragraphs, tables, and so on) of the document with the HTML tags. To view a mark-up document, user has to open the document in a browser.  A browser understands and interpret the HTML tags, identifies the structure of the document (which part are which) and makes decision about presentation (how the parts look) of the document. HTML also provides tags to make the document look attractive using graphics, font size and colors. User can make a link to the other document or the different section of the same document.

 Document Structure
An HTML document consists of two main parts: the Head, and the Body.

General form
<HTML>
<Head> ... </Head>
<Body> ... </Body>
</HTML>

The Head contains information about the document, such as links to pages that could be preloaded; and the Body contains the document to be displayed. The main Head element you need to know about is the <TITLE> tag.  Every document should have a title - it appears as a 'label' on the browser window, and when a user bookmarks it or looks in their history list - it's the text they'll see. Eg: <Title>A Basic Introduction to HTML</Title> Another useful Head tag is the <META> tag if you want to optimise your pages for search engines.
ASP.NET LANGUAGE STRUCTURE:
ASP.Net is founded by Microsoft

.Net:
                It is a problem to design the Internet applications. 3 coded Language (VB,C#,jscript) .Net allow 3rd party developerts to release language like VB.Net ,C#

ASP.NET:
                 It is a ful- fledged object oriented application development platform.ASP.Net integrated with visual studio.Net which provides GUI & a Integrated debugger

CLR:
The .NET runtime engine that executes all .NET programs, and provides modern services such as automatic memory management, security , optimization, and garbage collection.
ASP.Net uses Common Language Runtime (CLR) which is provided by .Net Frame Work.
CLR is used to manage the Execution of code and also it allows the object which is created by other languages.
The client  request a file like default.aspx from the server. Every ASP.Net web page usually has the file extension .aspx. Because this file extension is registered with IIS or known by the Visual Web Developer Web Server .the Asp.Net runtime and the ASP.Net Worker Process get into action. With the file request to the file default.apsx, The ASP.Net Parser is started,and the compiler compiles the file together with a VB.Net file that is associated with the .aspx file and creates an assembly then the assembly is complied to native code by the JIT compiler of the .Net runtime. The assembly contains a page class that is invoked to return HTML code to the Client. Then the page object is destroyed.
 PAGE STRUCTURE

ASP.NET pages are simply text files with the .aspx file name extension that can
be placed on an IIS server equipped with ASP.NET. When a browser requests
an ASP.NET page, the ASP.NET runtime parses and compiles the target file
into a .NET Framework class.

An ASP.NET page consists of the following elements:

? Directives
? Code declaration blocks
? Code render blocks
? ASP.NET server controls
? Server-side comments
? Server-side include directives
? Literal text and HTML tags

It’s important to remember that ASP.NET pages are just text files with an .aspx
extension that are processed by the runtime to create standard HTML, based on
their contents. Presentational elements within the page are contained within the
<body> tag, while application logic or code can be placed inside <script> tags.

PROPERTIES AND COMPILER
To access a property, we place the property name after the class object name. For example, to read the ItemName property into a new variable we would use the following code:

Dim MyItemName As String
MyItemName = MyCartItem.ItemName

HTML SERVER CONTROLS
Html controls are server controls that map directly to common HTML tags. HTML server controls are simple HTML tags with a runat="server" attribute, which enables developers to access them programmatically and work with them in a similar way to Web controls.

No comments:

Post a Comment