Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Internet technologies Zholmagambetova.docx
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
206 Кб
Скачать
☆

Parameters of css

CSS links contain properties that are responsible for the appearance of hypertext links of the HTML document. Links are the main way to navigate the site, so applying CSS styles to the design will improve their visual perception.

The main way to design links is to stylize the underscore links and change the color of the link text. You can also change the appearance of the cursor using the cursor property

Link Images

Add an image for the link using the CSS property background-image. Since the element <a> is a lowercase a {display: inline;}, it must first be converted to the block element a {display: block;}.

To insert an image or icon before the link, you need to add an indentation using the padding-left property. This technique can come in handy when the page has links to download any documents of different formats, and you can add an image icon for the type of file for greater visibility.

If you want the icon to be automatically added to all links that contain documents of the same format, you can use the following design:

a [href $ = ". pdf"] {background-image: url (images / pdf.png);}

The href $ symbol in the attribute selector gives the browser the command to find all the href attributes that end in a certain way (in this case .pdf) and add the corresponding icon to the link.

DHTML version

Although the description of some objects is not defined in any standard, popular browsers implement the basic capabilities in the same way.

window is a top-level object that describes the browser window. To its members it is possible to address directly, i.e. instead of window.location, you can just location. The rest of the objects are part of the window;

navigator - an object that describes the properties of the browser;

screen - an object describing the user's screen;

history - an object that describes the history of page loads;

location - an object describing the address of the page, protocol, etc .;

document is an object describing the current HTML page. The methods getElementById (), getElementsByName (), getElementsByTagName () let you access any element of the page by its id, or find it in an array of elements with the specified name (the name attribute) or in an array of elements with the specified tag name. In other words, this object corresponds to the document w3c standard. However, it has its html extensions as an array of bookmark anchors.

event - an object describing the state of the last event (for IE compatible).

Other objects represent different page elements and are created automatically after processing the corresponding tag.

DHTML Handbook

Document object

This object is the root element and represents the current HTML page.

properties

anchors - an array of bookmarks defined on the page (ie elements <a name = "...");

forms - an array of forms defined in the document;

Images - array of all images of the document;

links - an array of links to the area and link objects embedded in the document;

location - Location;

cookie - cookies associated with the document;

title - the title of the document;

domain - the domain name of the document;

lastModified - the date of the last modification of the document;

URL - url of the document;

referrer - url of the document that uploaded this document.

methods

write (x) - prints HTML or JavaScript text into a document or stream;

writeln (x) - prints HTML or JavaScript text into the document, at the end a newline is added;

getElementById (x) - returns the first element whose id is x;

getElementsByName (x) - returns an array of elements named x;

getElementsByTagName (x) - returns an array of x elements.

These are the basic methods, in the object model for the document more properties and methods are defined.

E-mail (English email, e-mail [imeɪl], from English electronic mail) is a technology and service for sending and receiving electronic messages (called "letters", "emails" or "messages") between users of a computer network including the Internet) [1].

E-mail on the composition of the elements and the principle of operation practically repeats the system of ordinary (paper) mail, borrowing as terms (mail, letter, envelope, attachment, box, delivery and others), and characteristic features - ease of use, delay of message transmission, sufficient reliability and at the same time the lack of delivery guarantee.

The emergence of e-mail can be attributed to 1965, when employees of the Massachusetts Institute of Technology (MIT) Noel Morris and Tom Van Vleck wrote a mail program for the CTSS (Compatible Time-Sharing System) operating system installed on the IBM 7090/7094 computer.

Return mail.