Assalamulaikum.Today we want share with you about HTML. I think you have heard it before.
For your information,HyperText Markup Language (HTML)
is the main markup language for
displaying web pages and other information that can be displayed in a web
browser.
HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like
<html>
), within the web page content. HTML
tags most commonly come in pairs like <h1>
and </h1>
, although some tags, known as empty elements, are unpaired,
for example <img>
. The first tag in a pair is the start tag, the second tag is
the end tag (they are also called opening tags and closing
tags). In between these tags web designers can add text, tags, comments and
other types of text-based content.
The purpose of a web browser is
to read HTML documents and compose them into visible or audible web pages. The
browser does not display the HTML tags, but uses the tags to interpret the
content of the page.
HTML elements form the building blocks of all websites. HTML
allows images and objects to
be embedded and can be used to create interactive forms. It provides a means to crates structured documents by
denoting structural semantics for text such as headings, paragraphs,
lists, links, quotes and other items. It can embed scripts in
languages such as Java Script which affect the behavior of
HTML webpages.
Web browsers can also refer to Cascading Style Sheets (CSS)
to define the appearance and layout of text and other material. The W3C, maintainer of both the HTML and the
CSS standards, encourages the use of CSS over explicit presentational HTML
markup.
HTML e-mail
Most
graphical email clients allow the use of a subset of HTML (often ill-defined)
to provide formatting and semantic markup not available with plain text. This
may include typographic information like colored headings, emphasized and
quoted text, inline images and diagrams. Many such clients include both a GUI editor
for composing HTML e-mail messages and a rendering engine for displaying them.
Use of HTML in e-mail is controversial because of compatibility issues, because
it can help disguise phishing attacks, because of accessibility issues for blind or visually impaired people, because it
HTML Application
An HTML
Application (HTA; file extension ".hta") is a Microsoft Windows application that uses
HTML and Dynamic HTML in a browser to provide the application's graphical
interface. A regular HTML file is confined to the security model of the web browser's security,
communicating only to web servers and manipulating only webpage objects and site cookies. An
HTA runs as a fully trusted application and therefore has more privileges, like
creation/editing/removal of files and Windows Registry entries. Because they
operate outside the browser's security model, HTAs cannot be executed via HTTP,
but must be downloaded (just like an EXE file ) and
executed from local file system.
Here is some example of html
code:-
Exmple of HTML table:
<table
border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
row 1, cell 1
|
row 1, cell 2
|
row 2, cell 1
|
row 2, cell 2
|
If you want to try, you can click here
No comments:
Post a Comment