HTML – Other Tags Semantic Tags, Frames, Embed Multimedia Content, Others SoftUni Team Technical Trainers Software University

Slides:



Advertisements
Similar presentations
HTML popo.
Advertisements

CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML. The World Wide Web Protocols Addresses HTML.
MR.Mohammed Sharaf al Shareef
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
Chapter 14 Introduction to HTML
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
JavaScript Basics Course Introduction SoftUni Team Technical Trainers Software University
Software Quality Assurance QA Engineering, Testing, Bug Tracking, Test Automation Software University Technical Trainers SoftUni Team.
AngularJS Routing Routes, Route Parameters, Templates, Location, Navigation SoftUni Team Technical Trainers Software University
AngularJS Services Built-in and Custom Services SoftUni Team Technical Trainers Software University
Building the User Interface by Using HTML5: Text, Graphics, and Media Lesson 2.
Software University Curriculum, Courses, Exams, Jobs SoftUni Team Technical Trainers Software University
Fundamentals SoftUni Welcome to Software University SoftUni Team Technical Trainers Software University
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Project Tracking Tools Trello, Asana, Basecamp, GitHub Issue Tracker, TRAC SoftUni Team Technical Trainers Software University
The New Elements © Main Menu Structure Media Canvas Form Click on one of the categories below to view information about the new HTML5 elements in.
AngularJS Directives Defining Custom Directives SoftUni Team Technical Trainers Software University
Teamwork and Personal Skills Course Introduction Software University SoftUni Team Technical Trainers.
NoSQL Databases NoSQL Concepts SoftUni Team Technical Trainers Software University
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Svetlin Nakov Technical Trainer Software University
HTML: Hyptertext Markup Language Doman’s Sections.
ECA 228 Internet/Intranet Design I Intro to Markup.
Project Tracking Tools Trello, Asana, Basecamp, GitHub Issue Tracker, TRAC Angel Georgiev Part-time Trainer Software University
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Test-Driven Development Learn the "Test First" Approach to Coding SoftUni Team Technical Trainers Software University
Controllers and Markup Controllers, $scope, Markup, Directives, Expressions, Binding, Filters, Validation SoftUni Team Technical Trainers Software University.
AMD and RequireJS Splitting JavaScript Code into Dependent Modules Software University Technical Trainers SoftUni Team.
Asynchronous Web Services Writing Asynchronous Web Services SoftUni Team Technical Trainers Software University
SASS & LESS Syntactically Awesome StyleSheets Dynamic StyleSheet Language Svetlin Nakov Technical Trainer Software University
Web Fundamentals (HTML and CSS) Course Introduction SoftUni Team Technical Trainers Software University
Controls, Widgets, Grid…
HTML – Other Tags Semantic Tags, Frames, Embed Multimedia Content, Others SoftUni Team Technical Trainers Software University
Jekyll Static Site Generator Template-Based Site Generation Svetlin Nakov Technical Trainer Software University
Web Fundamentals (HTML and CSS) Course Introduction Svetlin Nakov Technical Trainer Software University
HTML Forms Forms, Controls, Fields, Inputs, Submission, Validation SoftUni Team Technical Trainers Software University
Forms Overview, Query string, Submitting arrays, PHP & HTML, Input types, Redirecting the user Mario Peshev Technical Trainer Software.
Web Development Tools Tools for Front-End Developers Writing HTML and CSS Code SoftUni Team Technical Trainers Software University
HTML 5 Overview Document Structure, Basic Tags, Common Elements SoftUni Team Technical Trainers Software University
Web Fundamentals (HTML and CSS)
Responsive Design Design that Adapts to Different Devices SoftUni Team Technical Trainers Software University
Tables, Rows, Columns, Cells, Header, Footer, Colspan, Rowspan
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
CSS Transitions and Animations Animated HTML Elements SoftUni Team Technical Trainers Software University
High-Quality Code: Course Introduction Course Introduction SoftUni Team Technical Trainers Software University
HTML tags and attributes By: Dennis Champagne. List of tags.
Bootstrap Front-End Framework for Responsive Web Sites Svetlin Nakov Technical Trainer Software University
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
Events Event Handling in JavaScript SoftUni Team Technical Trainers Software University
HTML5 Introduction to Web Programming. Plan of the course HTML5 Structure of a document Main HTML Tags –Headings –Paragraphs –Links –Tables –Forms –Images.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
JavaScript Tools Tools for Writing / Editing / Debugging JavaScript Code Svetlin Nakov Technical Trainer Software University
INT222 – Internet Fundamentals Week 8: Using New HTML features 1.
Sets, Dictionaries SoftUni Team Technical Trainers Software University
CHAPTER 8 Multimedia 1. Using Multimedia ❖ Multimedia: the combination of text, sound, and video to express an idea or convey a message. ❖ Podcasts: a.
Creating Content Defining Topic, Creating Technical Training Materials SoftUni Team Technical Trainers Software University
Doctrine The PHP ORM SoftUni Team Technical Trainers Software University
Team Work and Personal Skills Course Introduction Angel Georgiev Part-time Trainer Software University
Creating Content Defining Topic, Creating Technical Training Materials SoftUni Team Technical Trainers Software University
Web Storage and Cookies Cookies, Local and Session Storage SoftUni Team Technical Trainers Software University
First Steps in PHP Creating Very Simple PHP Scripts SoftUni Team Technical Trainers Software University
Stacks and Queues Processing Sequences of Elements SoftUni Team Technical Trainers Software University
Build a WordPress Site A Real Life Example: Create a Fully Functional WP Business Web Site from Scratch Building a WP Site SoftUni Team Technical Trainers.
CSS Transitions and Animations
CSS Transitions and Animations
Basic HTML and Embed Codes
HTML5 - 2 Forms, Frames, Graphics.
Presentation transcript:

HTML – Other Tags Semantic Tags, Frames, Embed Multimedia Content, Others SoftUni Team Technical Trainers Software University

2 1.Semantic HTML  Headers, Footers, Sidebars, … 2.Frames  Frameset, Frame, IFrame 3.Multimedia Content  Audio, Video, Embedded Objects 4.Other Tags Table of Contents

Semantic HTML

 Semantic HTML is:  HTML markup used to reinforce the semantics in Web pages  Make the content understandable for computers  Rather than merely to define its presentation  A kind of metadata about the HTML content  Semantic HTML is processed by the Web browsers and other user agents  CSS is used to define its visual presentation to human users Semantic HTML 4

 Semantic HTML is:  Easier to read by developers  Easier to render by browsers  A way to present to the search engines the correct content Why Use Semantic HTML? 5

 Just follow some guidelines when creating a Web site  Use HTML5 semantic tags ,,,,,  Use Headings when you need to structure the content into sub-headings  In increasing order:,,, …  Do not use empty tags  Like a clearing s How To Write Semantic HTML?

HTML5 Semantic Tags

 Imagine the following site:  This is a common Web page structure  Used in the most Web sites in Internet HTML5 Semantic Tags 8

 It can be created using all kind of HTML elements ,, even  Browsers will render invalid / wrong / pseudo valid HTML  The correct way: use the HTML 5 semantic tags:  More about the semantic tags: HTML5 Semantic Tags (2) … … 9

  Site header / section header / article header   Site footer (sometime can be a section footer / article footer)   The site's main content (holds the main area of the content)   Site navigation (usually used in the header)   Site section (e.g. news section, comments section, links section, …) HTML5 Semantic Tags (3) 10

  Article in a section (e.g. news item in a news section)   Sidebar (usually on the left or on the right of the site)  +  Figure (a figure, e.g. inside an article) + its caption  +  Accordion-like widget (can be open / closed) HTML5 Semantic Tags (4) 11

  Groups article heading + sub-heading (e.g. + )   Semantically denotes an address (e.g. in the contacts page)   Specifies date / time (for a post / article / news)  /  Audio / video element (uses the built-in media player) HTML5 Semantic Tags (5) 12

13 ,,,,  Citation / quotation / quoted text / definition / abbreviation  Usually displayed in italic ,,,  Source code (e.g. JavaScript code, no syntax highlighting); sample input / output result from a program; variable in the code ,,  Denote inserted / deleted / highlighted text in a document  Old browsers (like IE6)?  use Modernizr or HTML5shiv Modernizr HTML5shiv HTML5 Semantic Tags (6)

 Headings  Always use headings ( – ) for headings and titles  Like in a MS Word document (Heading 1, Heading 2, …)  Google uses it to find the important content  Strong vs. bold  does not mean anything, just makes the text bolder  marks the text is "stronger" than the other, surrounding text  more important text Other Semantics

 Emphasis vs. italic  Emphasis does not always mean, that the code should be italic  It could be bolder, italic and underlined  The styles for the emphasis text should be set with CSS  Small text vs. smaller font defined in CSS  denotes something as smaller  less important  Strikethrough vs. deleted text  brings "deleted" semantics Other Semantics (2)

HTML Frames, and

17  Frames display multiple HTML documents in a single Web page  The page can be split into separate views (frames)  Horizontally and vertically, e.g. navigation and main content  Frames were popular in the early ages of HTML development  Now frames are deprecated  Avoid using frames!  Frames are not supported by all browsers  The element provides alternative content HTML Frames

18  Using and : HTML Frames – Example <html> Frames Example Frames Example </html>

19  Inline frames display a website inside another website:  Inline frames can display a page inside another page  The has fixed size (cannot adjust its size by its content)  Limited parent-child page interaction  Due to security reasons Inline Frames:

Multimedia Context Embedding Audio, Video and Other Media

21  The element inserts audio player in your site  Audio formats supported:  MP3, OGG, WAV (some browsers don't play all formats)  Attributes: controls, autoplay, loop, preload Embedding Audio Your browser does not support the <audio> tag. Your browser does not support the <audio> tag.</audio>

22  The element inserts video player in your site  Video formats supported: MP4, OGG, WebM (some browsers don't play all formats)  Attributes: width, height, poster, controls, autoplay, loop, preload Embedding Video Your browser does not support the video tag. Your browser does not support the video tag.</video>

23  Using the tag to embed Flash objects / Java applets / PDF documents / other plugin-based content  is very similar tag (newer and has body content): Embedding Other Objects Download invoice.pdf Download invoice.pdf </object>

24  In HTML5 you can include scalable vector graphics (SVG) through the tag:  SVG in XML based language for describing graphical objects like circles, ellipses, lines, polygons, shapes, strokes, text, etc. SVG Vector Graphics <polygon points="100,10 40, ,60 10,60 160,180" <polygon points="100,10 40, ,60 10,60 160,180" style="fill:lime;stroke:purple;stroke-width:5"/> style="fill:lime;stroke:purple;stroke-width:5"/> <circle cx="100" cy="93" r="20" stroke="black" <circle cx="100" cy="93" r="20" stroke="black" stroke-width="3" fill="red" /> stroke-width="3" fill="red" /> Sorry, your browser does not support inline SVG. Sorry, your browser does not support inline SVG.</svg>

25  The HTML elements provides a field for drawing vector graphics through a JavaScript API: Canvas Your browser does not support canvas. Your browser does not support canvas. <script> var ctx = document.getElementById("myCanvas").getContext("2d"); var ctx = document.getElementById("myCanvas").getContext("2d"); ctx.font = "30px Arial"; ctx.font = "30px Arial"; ctx.strokeText("Hello Canvas", 10, 50); ctx.strokeText("Hello Canvas", 10, 50); ctx.moveTo(0,0); ctx.moveTo(0,0); ctx.lineTo(200,100); ctx.lineTo(200,100); ctx.stroke(); ctx.stroke();</script>

Other HTML Tags Missing Pieces in the HTML Tag Universe

27 Progress and Meter  displays the progress of operation:  displays a progress-bar 2 out of 10 2 out of 10 60% 60%

28  Images can define maps and areas to make clickable some pieces an image (rectangular / circular areas) Image Maps <img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap"> alt="Planets" usemap="#planetmap"> </map>

29  – HTML document metadata  – optional break for long words (used in hyphenation)  – line break (like the \n in the console)  – displays a horizontal line Other Tags <head> </head> I am Very Long Word that may be broken. I am Very Long Word that may be broken.

30 1.Semantic HTML ,,,,,,,,,, … 2.HTML frames  embed HTML inside another HTML 3.Multimedia Content ,,, , 4.Other Tags:,,, … Summary

? ? ? ? ? ? ? ? ? HTML – Other Tags

License  This course (slides, examples, demos, videos, homework, etc.) is licensed under the "Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International" licenseCreative Commons Attribution- NonCommercial-ShareAlike 4.0 International 32  Attribution: this work may contain portions from  "HTML Basics" course by Telerik Academy under CC-BY-NC-SA licenseHTML BasicsCC-BY-NC-SA  "CSS Styling" course by Telerik Academy under CC-BY-NC-SA licenseCSS StylingCC-BY-NC-SA

SoftUni Diamond Partners

Free Software University  Software University Foundation – softuni.orgsoftuni.org  Software University – High-Quality Education, Profession and Job for Software Developers  softuni.bg softuni.bg  Software Facebook  facebook.com/SoftwareUniversity facebook.com/SoftwareUniversity  Software YouTube  youtube.com/SoftwareUniversity youtube.com/SoftwareUniversity  Software University Forums – forum.softuni.bgforum.softuni.bg