Разделы презентаций


HTML Attributes

Attributes provide additional information about HTML elements. All HTML elements can have attributesAttributes provide additional information about an elementAttributes are always specified in the start tagAttributes usually come in name/value pairs like: name="value"

Слайды и текст этой презентации

Слайд 1HTML Attributes

HTML Attributes

Слайд 2Attributes provide additional information about HTML elements.
All HTML elements can

have attributes
Attributes provide additional information about an element
Attributes are always specified in the start

tag
Attributes usually come in name/value pairs like: name="value"

Attributes provide additional information about HTML elements. All HTML elements can have attributesAttributes provide additional information about an elementAttributes are

Слайд 3The lang Attribute
The language of the document can be declared

in the  tag.
The language is declared with the lang attribute.
Declaring a language is

important for accessibility applications (screen readers) and search engines:




The first two letters specify the language (en). If there is a dialect, use two more letters (US).


The lang Attribute The language of the document can be declared in the  tag.The language is declared with

Слайд 4The title Attribute
Here, a title attribute is added to the  element. The value

of the title attribute will be displayed as a tooltip

when you mouse over the paragraph:

The title Attribute Here, a title attribute is added to the  element. The value of the title attribute will be

Слайд 5The href Attribute
HTML links are defined with the  tag. The link

address is specified in the href attribute:



Note: You will more about links

and the tag later at the farther lessons.



Слайд 6Size Attributes
HTML images are defined with the  tag.
The filename of the

source (src), and the size of the image (width and height) are

all provided as attributes:


Size Attributes HTML images are defined with the  tag.The filename of the source (src), and the size of

Слайд 7HTML Headings
Headings are defined with the to tags.
defines

the most important heading. defines the least important heading.




Search

engines use the headings to index the structure and content of your web pages.
Users skim your pages by its headings. It is important to use headings to show the document structure.
Note: Use HTML headings for headings only. Don't use headings to make text BIG or bold.

HTML Headings  Headings are defined with the to tags. defines the most important heading. defines the least

Слайд 8HTML Horizontal Rules
The tag defines a thematic break in

an HTML page, and is most often displayed as a

horizontal rule.
The
element is used to separate content (or define a change) in an HTML page:


HTML Horizontal Rules The tag defines a thematic break in an HTML page, and is most often

Слайд 9The HTML Element
The HTML  element has nothing to do with

HTML headings.
The element is a container for metadata. HTML

metadata is data about the HTML document. Metadata is not displayed.
The element is placed between the tag and the tag:

Note: Metadata typically define the document title, character set, styles, links, scripts, and other meta information.

The HTML Element The HTML  element has nothing to do with HTML headings.The element is a container for

Слайд 10HTML Tip - How to View HTML Source
Have you ever

seen a Web page and wondered "Hey! How did they

do that?"
To find out, right-click in the page and select "View Page Source" (in Chrome) or "View Source" (in IE), or similar in another browser. This will open a window containing the HTML code of the page.

HTML Tip - How to View HTML Source Have you ever seen a Web page and wondered

Слайд 11HTML Paragraphs
The HTML  element defines a paragraph:




Note: Browsers automatically add some white space

(a margin) before and after a paragraph.



HTML Paragraphs The HTML  element defines a paragraph:Note: Browsers automatically add some white space (a margin) before and after a

Слайд 12HTML Display
You cannot be sure how HTML will be displayed.
Large

or small screens, and resized windows will create different results.
With

HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.
The browser will remove any extra spaces and extra lines when the page is displayed:

HTML Display You cannot be sure how HTML will be displayed.Large or small screens, and resized windows

Слайд 14Don't Forget the End Tag
Most browsers will display HTML correctly

even if you forget the end tag:





This example will work

in most browsers, but do not rely on it.
Note: Dropping the end tag can produce unexpected results or errors.




Don't Forget the End Tag Most browsers will display HTML correctly even if you forget the end

Слайд 15HTML Line Breaks
The HTML 
 element defines a line break.
Use
if you

want a line break (a new line) without starting a

new paragraph:



The
tag is an empty tag, which means that it has no end tag.

HTML Line Breaks The HTML  element defines a line break.Use if you want a line break (a new line)

Слайд 16The Poem Problem
This poem will display on a single line:








The Poem Problem This poem will display on a single line:

Слайд 17The HTML Element
The HTML element defines preformatted text.
The

text inside a element is displayed in a fixed-width

font (usually Courier), and it preserves both spaces and line breaks:





The HTML Element The HTML element defines preformatted text.The text inside a element is displayed in a

Слайд 18What are attributes?
What does mean lang attribute?
What does mean tooltip

attribute?
What does mean href attribute?
What does mean size attribute?
Tell about

HTML headings.
Tell about HTML Horizontal Rules.
How do you can view HTML source?
Tell about HTML paragraph.
How does define a line break?
What does define
 element?

What are attributes?What does mean lang attribute?What does mean tooltip attribute?What does mean href attribute?What does mean

Обратная связь

Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое TheSlide.ru?

Это сайт презентации, докладов, проектов в PowerPoint. Здесь удобно  хранить и делиться своими презентациями с другими пользователями.


Для правообладателей

Яндекс.Метрика