HTML dictionary for those who are going to make their first page
HTML document (page) - 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.
Document Markup Flag Values
Markup flags are special commands for positioning text, graphics, video and audio fragments on the screen, as well as commands for communicating 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 these flags is the name of the page, which will be displayed in the frame of the viewer window.
<BODY> and </ BODY> . The "body" of the document (text, graphics, etc.) is located between these two flags.
Parameters of the flag <BODY> :
BGCOLOR - background color (<BODY BGCOLOR = "# FFFFFF">)
BACKGROUND - "wallpaper" or background
TEXT - text color
LINK - color hypertext link (links)
VLINK - the color of the link already visited in the past.
ALINK - active link color Flags used to format text
<P> and </ P> Flags that serve to highlight the original. The new paragraph is always separated from the previous empty line.
<BR> A flag used to wrap text to another line. It can also be used to separate graphics from text per interval.
<HR> A flag that serves for the logical separation of text by a horizontal line.
<PRE> and </ PRE> Between these flags is preformatted text. It is displayed on the screen with a courier type font.
Used in <P> and <H *>
ALIGN = LEFT - left alignment
ALIGN = RIGHT - right-field alignment
ALIGN = CENTER - center alignment
<LEFT> and </ LEFT> - Left Alignment
<RIGHT> and </ RIGHT> - right-field alignment
<CENTER> and </ CENTER> - center alignment
Headers that serve to highlight the logical parts of the text
<H1> and </ H1> The first level heading.
<H2> and </ H2> Second level heading.
<H2> and </ H2> Level 3 heading.
<H4> and </ H4> Level four heading.
<H5> and </ H5> Level five heading.
<H6> and </ H6> A sixth level header.
Flags for text and font selection
<B> and </ B> Flags for highlighting text (words, letters) in bold.
<I> and </ i> Flags for highlighting text (words, letters) in italic, 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 blink.
<FONT SIZE = + n> and </ FONT>
<FONT SIZE = -n> and </ FONT> Flags for changing the font size.
<FONT COLOR = "# 0000FF> and </ FONT> Flags to change font color.
Flags for the formation of lists
<OL> and </ OL> Flags showing the beginning and end of a numbered list
<UL> and </ UL> Flags showing the beginning and end of a bulleted list.
<LI> List item
<DL> and </ DL> Flags showing the beginning and end of the glossary.
<DT> The term glossary is located without indentation from the left margin of the page.
<DD> Description of the term, located indented from the left margin of the page.
Flags for inserting non-textual information into objects
<IMG SRC = "file.gif"> or <IMG SRC = "file.jpg"> - a command to insert a graphic image
<Img src = "file.wav"> - command for inserting sound
<IMG SRC = "file.avi"> - a command to insert a video fragment
WIDHT - the width of the image in pixels
HEIGHT - height of the image in pixels
ALIGN - alignment (ALIGN = LEFT - alignment on the left margin, ALIGN = RIGHT - on the right margin, ALIGN = TOP - on the upper boundary, ALIGN = BOTTOM - on the lower boundary, ALIGN = MIDDLE or CENTER - on the center)
HSPACE - horizontal indent from graphic
VSPACE - vertical indent
ALT - alternative text, used to denote the image
Hyperlink commands 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@example.com> firstname.lastname@example.org </ ADDRESS> - hyperlink with email address
Table - grid for displaying data in rows and columns, as well as a tool for formatting text
<TABLE> and </ TABLE> Flags for inserting a table into an HTML document
<TABLE> flag options
BGCOLOR - background color
BORDER - curb width
WIDHT - table width
Table Marking Flags
<CAPTION> and </ CAPTION> - the name of the table, has the parameter ALIGN = TOP - alignment above the table and ALIGN = BOTTOM - below the table.
<TR> and </ TR> Line table. May have BGCOLOR parameters - background color inside the string; ALIGN = LEFT, RIGHT, CENTER - alignment within the line; VALIGN = TOP, BOTTOM, MIDDLE - vertical alignment inside the table row.
<Td> and </ td> column table. May have BGCOLOR parameters - background color under the column; ALIGN = LEFT, RIGHT, CENTER - alignment inside the column; VALIGN = TOP, BOTTOM, MIDDLE - vertical alignment; COLSPAN stretching a cell into several columns, ROWSPAN stretching a cell into several rows.
<Th> and </ th> column header. May have BGCOLOR parameters - background color called; ALIGN = LEFT, RIGHT, CENTER - alignment; VALIGN = TOP, BOTTOM, MIDDLE - vertical alignment; COLSPAN, ROWSPAN - stretching a cell into several columns or rows; WIDHT - the width of the name.
Frames - a tool for splitting the screen into several areas, each of which displays the contents of a single Web page or even a whole Web site.
<FRAMESET> and </ FRAMESET> Flags to create a frame
<FRAMESET> flag options
COLS - subdivide the screen into a certain number of columns (vertical)
ROWS - subdivide the screen into a certain number of columns (horizontal)
BORDCOLOR - frame color
BORDER - curb width
FRAMEBORDER - border frame (FRAMEBORDER = YES - there is a border, FRAMEBORDER = NO - no border,
FRAMESPACING = n - width of the border)
<FRAME> Flag to describe the frame (<FRAME SRC = "file.htm">).
<FRAME> flag options
SCROLING - parameter to adjust the scroll bar:
SCROLING = YES - the scroll bar will always be
SCROLING = NO - no scrollbar
SCROLING = AUTO - scroll bar appears only when necessary
MARGINWIDHT and MARGINHEIGHT - parameters that control the indentation within the frames, used to align the graphic image within the frame
NORESIZE is a parameter indicating that the frame size will never change.
A link to <A HREF="file.htm" TARGET="frame2"> file.htm </A> - Connection between frames
TARGET is an attribute of the connection between frames. It has several meanings:
_BLANK loads the contents of the page specified by the link into a new empty window.
_SELF content 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 into the window, ignoring the used frames.
Handling non-frame browsers:
... frames are located here
... Here is the text without frames
In the section designed for those users who "do not see" the frame, you can place some explanatory text.
<MARQUEE> TEXT </ MARQUEE> - Flag that creates a running line
<MARQUEE DIRECTION = left> TEKCT </ MARQUEE> - If the running 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 once runs from the right edge to the left, where it remains.
alternate - movement 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 n of the LOOP operator indicates the number of times the loop is repeated.
<MARQUEE WIDHT = n> TEKCT </ MARQUEE> - specify the width of the section occupied by the creeping line, where n is the width of the part of the page where the creeping line is located. The value n is specified both in pixels and in percent of the total width of the visible part of the page.
<MARQUEE scrollamount = n> TEKCT </ MARQUEE> - Adjusts the movement of the label on the screen. Here n is the number of pixels.
<MARQUEE scrolldelay = t> TEKCT </ MARQUEE> In this case, the variable - time t - is measured in milliseconds. The speed setting method consists in specifying 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> - paint the surface of the crawl line in any color, where n, as has happened before, can be specified in the form of a hexadecimal number or by writing its name
<MARQUEE HEIGHT = n> TEXT </ MARQUEE> - specify the height of the creeping line, specifying the value of n in pixels