DEFINE:
(1)HTML <head> Element:
The
<head> element is a container for all the head elements. Elements inside
<head> can include scripts, instruct the browser where to find style
sheets, provide meta information, and more.
The following tags can be added to the head section:
<title>, <base>, <link>, <meta>, <script>, and
<style>.
(2)HTML
TAG:
The
<html> tag tells the browser that this is an HTML document.The <html> element is also known as the root element.
The <html> tag is the container for all other HTML elements (except for the<!DOCTYPE> tag).
(3)TITLE TAG:
The <title> tag is
required in all HTML documents and it defines the title of the document.
The <title> element:
- defines a title
in the browser toolbar
- provides a title
for the page when it is added to favorites
- displays a title
for the page in search-engine results
(4)BODY:
The <body> tag
defines the document's body.The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
Optional Attributes
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed.
S=Strict, T=Transitional, and F=Frameset.
Attribute
|
Value
|
Description
|
DTD
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the color of an active link in a document |
TF
|
|
URL
|
Deprecated. Use styles instead.
Specifies a background image for a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the background color of a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the default color of unvisited links in a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the color of the text in a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the color of the visited links in a document |
TF
|
Standard Attributes
The <body> tag supports the following standard attributes:
Attribute
|
Value
|
Description
|
DTD
|
class
|
classname
|
Specifies a
classname for an element
|
STF
|
dir
|
rtl
ltr |
Specifies the text
direction for the content in an element
|
STF
|
id
|
id
|
Specifies a unique
id for an element
|
STF
|
lang
|
language_code
|
Specifies a
language code for the content in an element
|
STF
|
style
|
style_definition
|
Specifies an inline
style for an element
|
STF
|
title
|
text
|
Specifies extra
information about an element
|
STF
|
xml:lang
|
language_code
|
Specifies a
language code for the content in an element, in XHTML documents
|
STF
|
WRITE SHORT
NOTES ON:
(1)MD:
The MD or MKDIR command is used to
create subdirectories in the root directory or other directories.
Syntax
Creates
a directory.
MKDIR
[drive:]path
MD [drive:]path
If
Command Extensions are enabled MKDIR changes as follows:
MKDIR
creates any intermediate directories in the path, if needed.
For example, assume \a does not exist then:
mkdir
\a\b\c\d
is
the same as:
mkdir
\a
chdir \a
mkdir b
chdir b
mkdir c
chdir c
mkdir d
(2)CD:
CD (Change Directory) is a command
used to switch directories in MS-DOS. For example, if you needed to run Windows
3.11 from DOS, you would type:
cd windows - Changing the directory to Windows;
win - To run the win.com
file within the windows directory.
CHDIR
[/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]
..
Specifies that you want to change to the parent directory.
Type
CD drive: to display the current directory in the specified drive.
Type CD without parameters to display the current drive and directory.
Use
the /D switch to change current drive in addition to changing current directory
for a drive.
If
Command Extensions are enabled CHDIR changes as follows:
The
current directory string is converted to use the same case as the on disk
names. So CD C:\TEMP would actually set the current directory to C:\Temp if
that is the case on disk.
CHDIR
command does not treat spaces as delimiters, so it is possible to CD into a
subdirectory name that contains a space without surrounding the name with
quotes. For example:
cd
\winnt\profiles\username\programs\start menu
is
the same as:
cd
"\winnt\profiles\username\programs\start menu"
(3)PROMPT:
Allows you to
change the MS-DOS prompt to display more or less information.
Changes the Windows command prompt.
PROMPT [text]
text Specifies a new command prompt.
The prompt can be made up of normal characters and the below
special codes:
$Q
|
= (equal sign)
|
$$
|
$ (dollar sign)
|
$T
|
Current time
|
$D
|
Current date
|
$P
|
Current drive and path
|
$V
|
Windows version number
|
$N
|
Current drive
|
$G
|
> (greater-than sign)
|
$L
|
& (less-than sign)
|
$B
|
| (pipe)
|
$H
|
Backspace (erases previous
character)
|
$E
|
Escape code (ASCII code 27)
|
$_
|
Carriage return and linefeed
|
Type PROMPT without parameters to reset the prompt to the
default setting.
prompt $t $d$_$p$g
DEFINE:
(1)HTML <head> Element:
The
<head> element is a container for all the head elements. Elements inside
<head> can include scripts, instruct the browser where to find style
sheets, provide meta information, and more.
The following tags can be added to the head section:
<title>, <base>, <link>, <meta>, <script>, and
<style>.
(2)HTML
TAG:
The
<html> tag tells the browser that this is an HTML document.The <html> element is also known as the root element.
The <html> tag is the container for all other HTML elements (except for the<!DOCTYPE> tag).
(3)TITLE TAG:
The <title> tag is
required in all HTML documents and it defines the title of the document.
The <title> element:
- defines a title
in the browser toolbar
- provides a title
for the page when it is added to favorites
- displays a title
for the page in search-engine results
(4)BODY:
The <body> tag
defines the document's body.The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.
Optional Attributes
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed.
S=Strict, T=Transitional, and F=Frameset.
Attribute
|
Value
|
Description
|
DTD
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the color of an active link in a document |
TF
|
|
URL
|
Deprecated. Use styles instead.
Specifies a background image for a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the background color of a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the default color of unvisited links in a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the color of the text in a document |
TF
|
|
rgb(x,x,x)
#xxxxxx colorname |
Deprecated. Use styles instead.
Specifies the color of the visited links in a document |
TF
|
Standard Attributes
The <body> tag supports the following standard attributes:
Attribute
|
Value
|
Description
|
DTD
|
class
|
classname
|
Specifies a
classname for an element
|
STF
|
dir
|
rtl
ltr |
Specifies the text
direction for the content in an element
|
STF
|
id
|
id
|
Specifies a unique
id for an element
|
STF
|
lang
|
language_code
|
Specifies a
language code for the content in an element
|
STF
|
style
|
style_definition
|
Specifies an inline
style for an element
|
STF
|
title
|
text
|
Specifies extra
information about an element
|
STF
|
xml:lang
|
language_code
|
Specifies a
language code for the content in an element, in XHTML documents
|
STF
|