Dictionary on HTML for those who are going to make their first page

HTML-document (page) is a document written in hypertext markup language (HTML). It is between the <HTML> and </ HTML> flags.

Web-site, Web-server - a chain of logically related documents written in HTML.

Flag values ​​for document markup

Markup Flags are special commands for placing text, graphics, video and audio fragments on the screen, as well as commands that are used to communicate with other HTML documents and Internet resources.

Main Markup Flags

<HEAD> and </ HEAD> . Between these flags is information about the document.

<TITLE> and </ TITLE> . In their flags is the name of the page, which will be displayed in the frame of the browser window.

<BODY> and </ BODY> . The "body" of the document (text, graphics, etc.) is located between these two flags.

The parameters of the <BODY> flag:

BGCOLOR - background color (<BODY BGCOLOR = "# FFFFFF">)

BACKGROUND - "wallpaper" or background

TEXT - text color

LINK - color of hypertext link (links)

VLINK - the color of the link already visited in the past

ALINK - the color of the active link Flags serving for text formatting

<P> and </ P> Flags serving for separating the abzad people. A new paragraph is always separated from the previous one by an empty line.

<BR> A flag used to carry text to another line. Can also serve to separate graphics from text to interval.

<HR> A flag that serves to logically separate the text by a horizontal line.

<PRE> and </ PRE> Between these flags is preformatted text. On the screen it is displayed in the font type "courier".

Clearing Options

Used in <P> and <H *>

ALIGN = LEFT - left alignment

ALIGN = RIGHT - right alignment

ALIGN = CENTER - center alignment

Alignment flags

<LEFT> and </ LEFT> - left alignment

<RIGHT> and </ RIGHT> - right alignment

<CENTER> and </ CENTER> - center alignment

The headings that serve to highlight the logical parts of the text

<H1> and </ H1> The first level header.

<H2> and </ H2> The second level header.

<H2> and </ H2> The title of the third level.

<H4> and </ H4> The title of the fourth level.

<H5> and </ H5> The title of the fifth level.

<H6> and </ H6> The title of the sixth level.

Flags for highlighting text and font

<B> and </ B> Flags to select text (words, letters) in bold.

<I> and </ I> Flags for highlighting text (words, letters) in italic type, such as Italic.

<U> and </ U> The text between these two flags will be underlined.

<BLINK> and </ BLINK> The text between these two flags will flash.

<FONT SIZE = + n> and </ FONT>

<FONT SIZE = -n> and </ FONT> Flags to change the font size.

<FONT COLOR = "# 0000FF> and </ FONT> Flags to change the font color.

Flags for forming lists

<OL> and </ OL> Flags showing the beginning and end of a numbered list

<UL> and </ UL> Flags showing the beginning and end of the bulleted list.

<LI> List item

<DL> and </ DL> Flags showing the beginning and end of the glossary.

<DT> The term glossary is located without an indent from the left margin of the page.

<DD> Description of the term, is located with an indent from the left margin of the page.

Flags-commands for inserting non-text information objects into the text

<IMG SRC = "file.gif"> or <IMG SRC = "file.jpg"> - command to insert a graphic image

<IMG SRC = "file.wav"> - command to insert a sound clip

<IMG SRC = "file.avi"> - command to insert a video fragment

Graphic Image Options

WIDHT - width of the image in pixels

HEIGHT - the height of the image in pixels

ALIGN - alignment (ALIGN = LEFT - alignment on the left margin, ALIGN = RIGHT - on the right field, ALIGN = TOP - on the upper border, ALIGN = BOTTOM - on the lower border, ALIGN = MIDDLE or CENTER - in the center)

HSPACE - horizontal indentation from the graphic image

VSPACE - vertical indentation

ALT - alternative text, serves for an image

Commands that serve to hyperlink to other HTML documents and Internet resources

<A HREF="fail.htm"> and </A> or <A href="/click?http://www.ru"> and </A> - hyperlinks

<ADDRESS> <A HREF=mailto:[email protected]> [email protected] </ ADDRESS> - hyperlink with an email address

Tables

Table - grid for displaying data in rows and columns, as well as a tool for text formatting

<TABLE> and </ TABLE> Flags for inserting a table into an HTML document

The parameters of the <TABLE> flag

BGCOLOR - background color

BORDER - curb width

WIDHT - table width

Flag of the table markup

<CAPTION> and </ CAPTION> - the name of the table, has the parameter ALIGN = TOP - alignment above the table and ALIGN = BOTTOM - under the table.

<TR> and </ TR> The row of the table. It can have parameters BGCOLOR - background color inside the line; ALIGN = LEFT, RIGHT, CENTER - alignment within the line; VALIGN = TOP, BOTTOM, MIDDLE - vertical alignment within the row of the table.

<TD> and </ TD> The column of the table. It can have parameters BGCOLOR - background color under the column; ALIGN = LEFT, RIGHT, CENTER - alignment inside the column; VALIGN = TOP, BOTTOM, MIDDLE - vertical alignment; COLSPAN stretching the cells into several columns, ROWSPAN - stretching the cells into several lines.

<TH> and </ TH> The column heading. Can have parameters BGCOLOR - the background color under the name; ALIGN = LEFT, RIGHT, CENTER - alignment; VALIGN = TOP, BOTTOM, MIDDLE - vertical alignment; COLSPAN, ROWSPAN - stretching the cells into several columns or rows; WIDHT is the width of the name.

Frames-frames

Frames-frames are a means for dividing the screen into several areas, each of which displays the contents of a separate Web page or even an entire Web site.

<FRAMESET> and </ FRAMESET> Flags to create a frame

Parameters of the <FRAMESET> flag

COLS - subdivide the screen into a specified number of columns (vertical)

ROWS - subdivide the screen into a specified number of columns (horizontal)

BORDCOLOR - frame color

BORDER - curb width

FRAMEBORDER - frame border (FRAMEBORDER = YES - there is a border, FRAMEBORDER = NO - no border,

FRAMESPACING = n - border width)

<FRAME> A flag to describe the frame (<FRAME SRC = "file.htm">).

Parameters of the <FRAME> flag

SCROLING - parameter for adjusting the scrollbar:

SCROLING = YES - the scroll bar will always be

SCROLING = NO - the scroll bar will not be

SCROLING = AUTO - the scroll bar appears only if necessary

MARGINWIDHT and MARGINHEIGHT - parameters that control the indentation inside the frames, serve to align the graphic image within the frame

NORESIZE is a parameter that indicates that the size of the frame-frame will never change.

A link to <A HREF="file.htm" TARGET="frame2"> file.htm </A> - Connection between frames

TARGET is an attribute of communication between frames. Has several meanings:

_BLANK loads the contents of the page specified by the link into a new empty window.

_SELF the contents of the page specified by the link in the window that contains the link.

_PARENT loads the contents of the page specified by the link into the window that is the direct owner of the frameset.

_TOP the contents of the page specified by the link to the window, ignoring the frames used.

Handling browsers that do not support frames:

<FRAMESET>

... Here are the frames

</ FRAMESET>

<NOFRAMES>

<BODY>

... Here is the text without frames

<BODY>

</ NOFRAMES>

In the section intended for those users who do not "see" the framework, you can arrange some explanatory text.

Ticker

<MARQUEE> TEXT </ MARQUEE> - A flag that creates a running line

<MARQUEE DIRECTION = left> TEKCT </ MARQUEE> - If the scrolling line needs to be sent from right to left

<MARQUEE DIRECTION = right> TEKCT </ MARQUEE> - movement from left to right.

Scroll - standard movement from the right edge to the left

Slide - the inscription runs one time from the right edge to the left, where it remains.

Alternate - move from the right edge of the page to the left and back. Endless cycle.

<MARQUEE LOOP = n BEHAVIOR = scroll> TEKCT </ MARQUEE> - Limits the number of cycles. The value of the n operator LOOP indicates the number of repetitions of the loop.

<MARQUEE WIDHT = n> TEKCT </ MARQUEE> - specify the width of the area occupied by the scrolling line, where n is the width of that part of the page on which the scrolling line is located. The value of n is specified both in pixels and in percentage of the total width of the visible part of the page.

<MARQUEE scrollamount = n> TEKCT </ MARQUEE> - Adjusts motion of the inscription on the screen. Here n is the number of pixels.

<MARQUEE scrolldelay = t> TEKCT </ MARQUEE> In this case, the variable, the time t, is measured in milliseconds. The method of setting the speed is to specify the time after which the text will be redrawn on the screen again.

<FONTSIZE = n> <MARQUEE> TEXT </ MARQUEE> </ FONT> - the ability to specify the font size of the text in the line.

<MARQUEE BGCOLOR = n> TEXT </ MARQUEE> - color the surface of the running line in any color, where n, as it was before, you can specify in the form of a hexadecimal number or by writing its name

<MARQUEE HEIGHT = n> TEXT </ MARQUEE> - specify the height of the running line, specifying the value of n in pixels