From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/el/web/html/element/embed/index.html | 120 +++++++++++++++++++++++++++++ files/el/web/html/element/index.html | 109 ++++++++++++++++++++++++++ 2 files changed, 229 insertions(+) create mode 100644 files/el/web/html/element/embed/index.html create mode 100644 files/el/web/html/element/index.html (limited to 'files/el/web/html/element') diff --git a/files/el/web/html/element/embed/index.html b/files/el/web/html/element/embed/index.html new file mode 100644 index 0000000000..0a6e398b10 --- /dev/null +++ b/files/el/web/html/element/embed/index.html @@ -0,0 +1,120 @@ +--- +title: ': The Embed External Content element' +slug: Web/HTML/Element/embed +translation_of: Web/HTML/Element/embed +--- +
{{HTMLRef}}
+ +

The HTML <embed> element embeds external content at the specified point in the document. This content is provided by an external application or other source of interactive content such as a browser plug-in.

+ +
{{EmbedInteractiveExample("pages/tabbed/embed.html", "tabbed-standard")}}
+ + + +
+

Note: This topic documents only the element that is defined as part of HTML5. It does not address earlier, non-standardized implementation of the element.

+
+ +

Keep in mind that most modern browsers have deprecated and removed support for browser plug-ins, so relying upon <embed> is generally not wise if you want your site to be operable on the average user's browser.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Content categoriesFlow content, phrasing content, embedded content, interactive content, palpable content.
Permitted contentNone, it is an {{Glossary("empty element")}}.
Tag omissionMust have a start tag, and must not have an end tag.
Permitted parentsAny element that accepts embedded content.
Implicit ARIA roleNo corresponding role
Permitted ARIA roles{{ARIARole("application")}}, {{ARIARole("document")}}, {{ARIARole("img")}}, {{ARIARole("none")}}, {{ARIARole("presentation")}}
DOM interface{{domxref("HTMLEmbedElement")}}
+ +

Attributes

+ +

This element's attributes include the global attributes.

+ +
+
{{htmlattrdef("height")}}
+
The displayed height of the resource, in CSS pixels. This must be an absolute value; percentages are not allowed.
+
{{htmlattrdef("src")}}
+
The URL of the resource being embedded.
+
{{htmlattrdef("type")}}
+
The {{glossary("MIME type")}} to use to select the plug-in to instantiate.
+
{{htmlattrdef("width")}}
+
The displayed width of the resource, in CSS pixels. This must be an absolute value; percentages are not allowed.
+
+ +

Usage notes

+ +

You can use the {{cssxref("object-position")}} property to adjust the positioning of the embedded object within the element's frame, and the {{cssxref("object-fit")}} property to control how the object's size is adjusted to fit within the frame.

+ +

Παράδειγμα

+ +
<embed type="video/quicktime" src="movie.mov" width="640" height="480" title="Title of my video">
+
+ +

Accessibility concerns

+ +

Use the title attribute on an embed element to label its content so that people navigating with assistive technology such as a screen reader can understand what it contains. The title's value should concisely describe the embedded content. Without a title, they may not be able to determine what its embedded content is. This context shift can be confusing and time-consuming, especially if the embed element contains interactive content like video or audio.

+ +

Specifications

+ + + + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', 'embedded-content.html#the-embed-element', '<embed>')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'semantics-embedded-content.html#the-embed-element', '<embed>')}}{{Spec2('HTML5 W3C')}}
+ +

Browser compatibility

+ +
+

Note: Prior to version 45, Firefox did not display content of HTML resource, but a generic message saying the content needs a plug-in (see {{Bug("730768")}}).

+
+ + + +

{{Compat("html.elements.embed")}}

+ +

See also

+ + diff --git a/files/el/web/html/element/index.html b/files/el/web/html/element/index.html new file mode 100644 index 0000000000..216697c5a6 --- /dev/null +++ b/files/el/web/html/element/index.html @@ -0,0 +1,109 @@ +--- +title: HTML elements reference +slug: Web/HTML/Element +tags: + - Basic + - Element + - HTML + - NeedsTranslation + - Reference + - TopicStub + - Web + - 'l10n:priority' +translation_of: Web/HTML/Element +--- +
{{HTMLSidebar("Elements")}}
+ +

This page lists all the {{Glossary("HTML")}} {{Glossary("Element","elements")}}, which are created using {{Glossary("Tag", "tags")}}. They are grouped by function to help you find what you have in mind easily. An alphabetical list of all elements is provided in the sidebar on every element's page as well as this one.

+ +
+

For more information about the basics of HTML elements and attributes, see the section on elements in the Introduction to HTML article.

+
+ +

Main root

+ +

{{HTMLRefTable("HTML Root Element")}}

+ +

Document metadata

+ +

Metadata contains information about the page. This includes information about styles, scripts and data to help software ({{Glossary("search engine", "search engines")}}, {{Glossary("Browser","browsers")}}, etc.) use and render the page. Metadata for styles and scripts may be defined in the page or link to another file that has the information. 

+ +

{{HTMLRefTable("HTML Document Metadata")}}

+ +

Sectioning root

+ +

{{HTMLRefTable("Sectioning Root Element")}}

+ +

Content sectioning

+ +

Content sectioning elements allow you to organize the document content into logical pieces. Use the sectioning elements to create a broad outline for your page content, including header and footer navigation, and heading elements to identify sections of content.   

+ +

{{HTMLRefTable("HTML Sections")}}

+ +

Text content

+ +

Use HTML text content elements to organize blocks or sections of content placed between the opening {{HTMLElement("body")}} and closing </body> tags. Important for {{Glossary("accessibility")}} and {{Glossary("SEO")}}, these elements identify the purpose or structure of that content.     

+ +

{{HTMLRefTable("HTML Grouping Content")}}

+ +

Inline text semantics

+ +

Use the HTML inline text semantic to define the meaning, structure, or style of a word, line, or any arbitrary piece of text.

+ +

{{HTMLRefTable("HTML Text-Level Semantics")}}

+ +

Image and multimedia

+ +

HTML supports various multimedia resources such as images, audio, and video.

+ +

{{HTMLRefTable("multimedia")}}

+ +

Embedded content

+ +

In addition to regular multimedia content, HTML can include a variety of other content, even if it's not always easy to interact with.

+ +

{{HTMLRefTable({"include":["HTML embedded content"], "exclude":["multimedia"]})}}

+ +

Scripting

+ +

In order to create dynamic content and Web applications, HTML supports the use of scripting languages, most prominently JavaScript. Certain elements support this capability.

+ +

{{HTMLRefTable("HTML Scripting")}}

+ +

Demarcating edits

+ +

These elements let you provide indications that specific parts of the text have been altered.

+ +

{{HTMLRefTable("HTML Edits")}}

+ +

Table content

+ +

The elements here are used to create and handle tabular data.

+ +

{{HTMLRefTable("HTML tabular data")}}

+ +

Forms

+ +

HTML provides a number of elements which can be used together to create forms which the user can fill out and submit to the Web site or application. There's a great deal of further information about this available in the HTML forms guide.

+ +

{{HTMLRefTable({"include": ["HTML forms"], "exclude":["Deprecated"]})}}

+ +

Interactive elements

+ +

HTML offers a selection of elements which help to create interactive user interface objects.

+ +

{{HTMLRefTable("HTML interactive elements")}}

+ +

Web Components

+ +

Web Components is an HTML-related technology which makes it possible to, essentially, create and use custom elements as if it were regular HTML. In addition, you can create custom versions of standard HTML elements.

+ +

{{HTMLRefTable({"include":["Web Components"],"exclude":["Deprecated", "Obsolete"]})}}

+ +

Obsolete and deprecated elements

+ +
+

Warning: These are old HTML elements which are deprecated and should not be used. You should never use them in new projects, and should replace them in old projects as soon as you can. They are listed here for informational purposes only.

+
+ +

{{HTMLRefTable({"include":["Deprecated","Obsolete"]})}}

-- cgit v1.2.3-54-g00ecf