A web page is a document written in HTML, CSS, and JavaScript, and is accessible through the internet. Semantic HTML refers to the use of HTML tags to describe the meaning and structure of the content, rather than just its presentation. HTML5 introduced several semantic tags, such as <header>, <nav>, <main>, <article>, and <footer>, to provide more meaning to web pages. Other semantic elements, such as <figure> and <figcaption>, can also be used to describe more specific types of content. Accessibility refers to the practice of designing web pages that can be used by people with disabilities. Search Engine Optimization (SEO) is the process of improving a website's visibility in search engine results. Structured data markup is a way to add additional information to a web page in a standardized format, such as schema.org, to help search engines better understand the content on the page.
Topics covered:
Web Page
HTML, CSS and JavaScript
The Semantic HTML
HTML5 Semantic Tags
Other Semantics
Accessibility
Search Engine Optimization
Structured Data Markup
Video (in Bulgarian)
Presentation Content
The Elements of a Web Page
A Web page consists of:
HTML markup
CSS rules
JavaScript code
JS libraries
Images
Other resources
Fonts, audio, video, Flash, Silverlight, etc…
The Elements of a Web Page: HTML Markup
The HTML is used to definethe content of a Web page
Not the layout
Not the decorations
HTML’s role is to present theinformation in a meaningful manner
Like a paper document
Define headers, paragraphs, textboxes, etc…
Not define size, color and/or positioning
The Elements of a Web Page: CSS Rules
Cascading Style Sheets ( CSS ) is the way to make a Web page look pretty
Define styling rules
Fonts, colors, positioning, etc.
Define the layout of the elements
Define the presentation
The CSS files are attached to a web page and the browser applies these styles to elements
The Elements of a Web Page: JavaScript Code
JavaScript is the programminglanguage for the Web
Makes the Web pages dynamic
Dynamically adding / removingHTML elements, applying styles, etc.
Modern JavaScript UI libraries provide UI components like dialog boxes, grids, tabs, etc.
Like CSS the JavaScript files are attached to a web page
The Elements of a Web Page: Other Resources
Other resources are needed for a Web page to run properly
Images, fonts (glyph icons), audio, video files
Flash / Silverlight / ActiveX objects
Semantic HTML
Semantic HTML is:
The use of HTML markup to reinforce the semantics of the information 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 regular Web browsers and other user agents
CSS is used to suggest itspresentation to human users
Why Use Semantic HTML?
Semantic HTML is:
Easier to read by developers,parsers, bots, machines, AIs
A way to show the searchengines the correct content
How To Write Semantic HTML?
Just follow some guidelineswhen creating a Web site