Learn something about computer.
About HTML"Like and Connect Us" https://www.facebook.com/biswosahityasarobar?ref=hl
HTML is short for HyperText Markup Language and is a language used to create electronic documents, especially pages on the World Wide Web that contain connections called hyperlinks to other pages. Every web page you see on the Internet, including this one contains HTML code that helps format and show text and images in an easy to read format. Without HTML a browser would not know how to format a page and would only display plain text with no formatting that contained no links. Below is an example of a basic web page in HTML code.
In the very basic above example are the key parts to every web page. The first DOCType line describes what encoding the page uses. For most pages, unless they are using XML this line will work. Next, the HTML tag begins letting the browser know that HTML code is being used until it is terminated at the end of the page. Next, the head section contains header information about the page, which will almost always contain the title of the page and the meta tags. Finally, the body section is all content that is viewable on the browser. For example, all the text you see here is contained within the body tags.
HTML5 is the update made to HTML from HTML4 (XHTML follows a different version numbering scheme). It uses the same basic rules as HTML4, but adds some new tags and attributes which allow for better semantics and for dynamic elements that are activated using JavaScript. New elements include section, article, aside, header, hgroup, footer, nav, figure, figcaption, video, audio, track, embed (different usage), mark, progress, meter, time, ruby, rt, rp, bdi, wbr, canvas, command, details, datalist, keygen, and output. There are new input types for forms, which include tel, search, url, email, datetime, date, month, week, time, datetime-local, number, range, and color.
A number of elements have been removed due to being presentational elements, accessibility issues, or lack of use. These should no longer be used: basefont, big, center, font, strike, tt, frame, frameset, noframes, acronym, applet, isindex, and dir.
HTML5 also simplifies the doctype declaration. To declare a document as an HTML5 document, you only need the below tag for the doctype. Read About Colour http://www.computerhope.com/htmcolor.htm
In the very basic above example are the key parts to every web page. The first DOCType line describes what encoding the page uses. For most pages, unless they are using XML this line will work. Next, the HTML tag begins letting the browser know that HTML code is being used until it is terminated at the end of the page. Next, the head section contains header information about the page, which will almost always contain the title of the page and the meta tags. Finally, the body section is all content that is viewable on the browser. For example, all the text you see here is contained within the body tags.
HTML5 is the update made to HTML from HTML4 (XHTML follows a different version numbering scheme). It uses the same basic rules as HTML4, but adds some new tags and attributes which allow for better semantics and for dynamic elements that are activated using JavaScript. New elements include section, article, aside, header, hgroup, footer, nav, figure, figcaption, video, audio, track, embed (different usage), mark, progress, meter, time, ruby, rt, rp, bdi, wbr, canvas, command, details, datalist, keygen, and output. There are new input types for forms, which include tel, search, url, email, datetime, date, month, week, time, datetime-local, number, range, and color.
A number of elements have been removed due to being presentational elements, accessibility issues, or lack of use. These should no longer be used: basefont, big, center, font, strike, tt, frame, frameset, noframes, acronym, applet, isindex, and dir.
HTML5 also simplifies the doctype declaration. To declare a document as an HTML5 document, you only need the below tag for the doctype.
Recommended HTML
Below is a listing of some of the HTML commands recommended to be reviewed first, if not already known.
A HREF - Creating a link to other pages.
BODY - Setting the looks of the web page.
BR - Creating a line break.
IMG SRC - Creating an image.
META - Creating meta tags.
TITLE - Creating a title for a web page.
BODY - Setting the looks of the web page.
BR - Creating a line break.
IMG SRC - Creating an image.
META - Creating meta tags.
TITLE - Creating a title for a web page.
Fore More Tag visit http://www.computerhope.com/learnhtm.htm
HTML, or HyperText Markup Language, is a world wide markup language that allows a user to create his or her own web page. While HTML is a fairly easy to learn markup language, it does involve several hundred commands to learn and memorize.
With HTML, the user creates tags; tags are anything between the less-than and the greater-than signs. Using the tags, this identifies where the commands begin and end. For example, Bold Text tells the browser that is the beginning of the bold text statement that will turn anything after that tag bold; once the browser hits the browser then turns the bold text statement off, allowing for only specific text to be bold
On this page we have created a list of HTML commands, which can be used in web pages to change text, add different features, and apply several other different effects.
- HTML Tag that allows you to implement comments into your HTML Code, which would be hidden to the average browser.
Example:
Preview:
Example:
Preview:
Example:
- Like ABBREV, also a new command with HTML 3.0 that displays the text acronym when mouse is highlighted over text.
Example:
Computer Hope
Preview:
Computer Hope
- Command that changes the format of the text to signify an address. This is used with e-mail addresses. However, can also be used for a street address.
Example:
support@computerhope.com
Preview:
support@computerhope.com
- Command used with Netscape to implement a Java application into a web page.
Example:
Preview:
View COOL FEATURES to see Java applets.
Additional information:
To insert JavaScript into your web page you would use the
Example:
This text would be in bold
Preview:
This text would be in bold
Example:
Example:
- Tells the browser how to display the
text; for example, using the DIR attribute you can make it go left to right
using DIR=ltr Example: Makes text go opposite way
this just causes the text to go right to left; this tag is usually used for
international purpose.
Example:
This text would be going from the left to the
right.
Preview:
This text would be going from the left to the right.
Example:
Example:
- HTML 3.0 tag that allows your text to
be BIG.
Example:
This text would be big.
Preview:
This text would be big.
Example:
This text would be
bigger.
Preview:
This text would be bigger.
- HTML tag that can
be extraordinarily annoying when viewing a web page. Internet Explorer does not
incorporate this tag, but still is available with Netscape Navigator.
Example:
Preview:
This text would be blinking if compatible browser.
- Command that allows you to indent your lines one inch from the left hand side. Instead of using this command to indent text or other objects we suggest usingCSS. See document CH001034 for additional information and help.
Example:
This would be one tab from the left hand side of the page or the table cell it is in.
Preview:
This would be one tab from the left hand side of the page or the
table cell it is in.
-
Command that should be located towards the top of your HTML code. This tag is
used to specify the color of the text, the links, the background color and the
background image.
Example:
background="back.gif" -
Use an image as a background. When doing this make sure your background image
is the same size as the resolution you wish to support. see theresolution definition for further
information.
bgcolor="#FFFFFF" - Have a white background; while this is
not necessary when having an image as a background, it creates a better
transition for our page, considering it contains mostly white. #FFFFFF is the
hexadecimal for the color white. In this tag you can also specify white instead
of the hexadecimal value.
text="#000000" - This tells the browser to display all
text black unless otherwise specified. #000000 is the hexadecimal for the color
black. This tag will also allow you to specify the color by spelling it out.
link="#000000" - Specifies that links on the page
that have not been visited should be black. If this tag is not specified the
default color will be used, which usually is a blue. #000000 is the hexadecimal
for the color black. This tag will also allow you to specify the color by spelling
it out.
vlink="#000000" - Specifies the color of the links that
have been visited. If this tag is not specified the default color is purple.
#000000 is the hexadecimal for the color black. This tag will also allow you to
specify the color by spelling it out.
alink="#000000" - Specifies the color when the link is
active; this is specified for newer browsers, old browsers under 3.x do not
have any effect on this code. The active link only changes when clicked (this
is not used to change the color when the mouse is moved over the link). #000000
is the hexadecimal for the color black. This tag will also allow you to specify
the color by spelling it out.
topmargin="0" - Tells the browser not to have a margin on
the top of the browser window (this is a small white space on the top of the
page. We have noticed that Netscape and older versions of Internet Explorer do
not completely eliminate the margin even if the value is zero.
leftmargin="0" - Tells the browser not to have a margin
on the left side of the browser window (this is a small white space on the top
of the page. We have noticed that Netscape and older versions of Internet
Explorer do not completely eliminate the margin even if the value is zero.
Preview:
The above example is the body tag we are currently using on this
page.
Example:
Preview:
The
HTML tag returns once (down one line), another
applicable HTML tag is
Paragraph
here.
When this tag is used this will begin a new paragraph.
No comments:
Post a Comment