This document provides an overview of HTML including:
- What HTML is and where it originated from as a markup language.
- The basic syntax and structure of HTML documents including elements, attributes, nesting, and semantic markup.
- Key HTML elements like headings, links, and images and how to reference external resources.
- A brief history of HTML standards development from HTML to XHTML to HTML5.
The document provides an overview of HTML including:
1) A brief history of HTML from its origins in the 1960s through its standardization by the W3C in the late 1990s.
2) An explanation of HTML syntax including tags, elements, attributes, and nesting.
3) A discussion of semantic markup and its advantages over presentation-oriented markup.
4) A description of the basic structure of an HTML document including the DOCTYPE, html, head, and body elements.
5) A quick tour of common HTML elements like headings, paragraphs, links, and divisions.
This document provides an overview of web technology and HTML. It discusses the history of HTML from its origins in the late 1960s to current standards set by the W3C. Key developments include the creation of HTML in 1991, its codification in 1997, and the release of XHTML 1.0 in 1998 and HTML5 in the late 2000s. The document outlines HTML syntax including elements, attributes, nesting, and semantic markup. It also describes the structure of HTML documents and some of the core elements used.
The document provides an overview of HTML and its evolution. It discusses the basic structure and syntax of HTML, including elements, tags, attributes, and nesting. It describes semantic markup and some common elements like headings, paragraphs, links and divisions. It traces the history of HTML from its origins to modern standards like HTML5 and XHTML. The goal is to introduce foundational concepts about HTML that will be built upon in subsequent chapters.
This document provides an introduction to HTML and web development. It outlines Richard Dron's role helping students develop technical skills, and the aims and learning outcomes of the Principles of Systems Development course. The document discusses the history of HTML, recommends learning HTML 4.01 and introduces key HTML elements and markup essentials. It also provides examples of document structure, hyperlinks, and lists before directing students to additional resources.
This document provides an overview of HTML and its evolution. It discusses:
1. The origins and purpose of HTML as a markup language used to annotate documents and control text layout.
2. Key changes and versions of HTML including XHTML for stricter syntax, and HTML5 which aims to make HTML a living language and improve backwards compatibility.
3. Semantic HTML elements that describe the structural meaning of content rather than presentation. This improves accessibility, searchability, and maintainability of documents.
4. The basic structure of HTML documents including the DOCTYPE, head, body, titles, and use of external stylesheets and scripts.
5. Common HTML elements like headings, paragraphs, links
www.webre24h.com - [O`reilly] html and xhtml. pocket reference, 4th ed. - [...webre24h
This document provides an overview of HTML, XHTML, and HTML5. It discusses the basic structures of HTML 4.01 documents, including the three DTDs (document type definitions) of Strict, Transitional, and Frameset. It also summarizes new features in HTML5 such as new semantic elements, input types, attributes, APIs, and the single document structure of HTML5. The document is intended as a brief introduction and reference for these markup standards.
The document discusses the structure and components of HTML documents. It begins by explaining what HTML is and how it uses tags to provide formatting and semantic meaning. It then discusses the key elements of HTML documents, including the <html>, <head>, and <body> tags which form the basic skeleton of all HTML pages. The document also explains the differences between different types of tags and how HTML documents are interpreted by browsers.
HTML is a markup language that allows users to structure and format web pages. It uses tags like <p> and <div> to organize content into sections, paragraphs, headings, and other blocks. While HTML provides structure, CSS and JavaScript are needed to style pages and add dynamic functionality. HTML files are rendered and displayed in web browsers.
The document provides an overview of HTML including:
1) A brief history of HTML from its origins in the 1960s through its standardization by the W3C in the late 1990s.
2) An explanation of HTML syntax including tags, elements, attributes, and nesting.
3) A discussion of semantic markup and its advantages over presentation-oriented markup.
4) A description of the basic structure of an HTML document including the DOCTYPE, html, head, and body elements.
5) A quick tour of common HTML elements like headings, paragraphs, links, and divisions.
This document provides an overview of web technology and HTML. It discusses the history of HTML from its origins in the late 1960s to current standards set by the W3C. Key developments include the creation of HTML in 1991, its codification in 1997, and the release of XHTML 1.0 in 1998 and HTML5 in the late 2000s. The document outlines HTML syntax including elements, attributes, nesting, and semantic markup. It also describes the structure of HTML documents and some of the core elements used.
The document provides an overview of HTML and its evolution. It discusses the basic structure and syntax of HTML, including elements, tags, attributes, and nesting. It describes semantic markup and some common elements like headings, paragraphs, links and divisions. It traces the history of HTML from its origins to modern standards like HTML5 and XHTML. The goal is to introduce foundational concepts about HTML that will be built upon in subsequent chapters.
This document provides an introduction to HTML and web development. It outlines Richard Dron's role helping students develop technical skills, and the aims and learning outcomes of the Principles of Systems Development course. The document discusses the history of HTML, recommends learning HTML 4.01 and introduces key HTML elements and markup essentials. It also provides examples of document structure, hyperlinks, and lists before directing students to additional resources.
This document provides an overview of HTML and its evolution. It discusses:
1. The origins and purpose of HTML as a markup language used to annotate documents and control text layout.
2. Key changes and versions of HTML including XHTML for stricter syntax, and HTML5 which aims to make HTML a living language and improve backwards compatibility.
3. Semantic HTML elements that describe the structural meaning of content rather than presentation. This improves accessibility, searchability, and maintainability of documents.
4. The basic structure of HTML documents including the DOCTYPE, head, body, titles, and use of external stylesheets and scripts.
5. Common HTML elements like headings, paragraphs, links
www.webre24h.com - [O`reilly] html and xhtml. pocket reference, 4th ed. - [...webre24h
This document provides an overview of HTML, XHTML, and HTML5. It discusses the basic structures of HTML 4.01 documents, including the three DTDs (document type definitions) of Strict, Transitional, and Frameset. It also summarizes new features in HTML5 such as new semantic elements, input types, attributes, APIs, and the single document structure of HTML5. The document is intended as a brief introduction and reference for these markup standards.
The document discusses the structure and components of HTML documents. It begins by explaining what HTML is and how it uses tags to provide formatting and semantic meaning. It then discusses the key elements of HTML documents, including the <html>, <head>, and <body> tags which form the basic skeleton of all HTML pages. The document also explains the differences between different types of tags and how HTML documents are interpreted by browsers.
HTML is a markup language that allows users to structure and format web pages. It uses tags like <p> and <div> to organize content into sections, paragraphs, headings, and other blocks. While HTML provides structure, CSS and JavaScript are needed to style pages and add dynamic functionality. HTML files are rendered and displayed in web browsers.
This document is a group assignment submitted by 6 students from Assosa University in Ethiopia on May 26, 2013. It provides information on HTML, XHTML, XML, and summarizes key differences between these markup languages. HTML is for creating web pages, XHTML is a stricter version of HTML, and XML is a generic markup language that allows users to define their own tags for transporting and storing data.
Web Engineering UNIT III as per RGPV SyllabusNANDINI SHARMA
Technologies for Web Applications: HTML and DHTML, HTML Basic Concepts, Static and dynamic HTML, Structure of HTML documents, HTML Elements, Linking in HTML, Anchor Attributes, Image Maps, Meta Information, Image Preliminaries, Layouts, Backgrounds, Colors and Text, Fonts, Tables, Frames and layers, Audio and Video Support with HTML Database integration, CSS, Positioning with Style sheets, Forms Control, Form. Elements. Introduction to CGI PERL, JAVA SCRIPT, PHP, ASP , Cookies Creating and Reading Cookies
HTML is a markup language used to structure and present content on the web. It uses elements like <p> and <div> to define paragraphs, headings, and other parts of a web page. HTML documents have a specific structure with a <head> for metadata and a <body> for visible content. The <DOCTYPE> declaration at the top defines which version of HTML the page conforms to.
The document provides an overview of three modules that cover topics in web technologies including the Internet, World Wide Web, HTML, JavaScript, CSS, DOM, CGI/Perl, Java Applets and more. Key concepts covered include how the Internet and WWW work, protocols, building websites using HTML, JavaScript programming fundamentals, external and internal CSS stylesheets, the HTML and XML DOM models, introducing CGI and Perl scripting, and writing Java applets. References for additional reading on related topics are also provided.
HTML 5 is the latest version of the HTML markup language. It introduces several new elements and features to improve the functionality of web pages, including the <canvas> element for drawing graphics, the <video> and <audio> elements for embedding video and audio, and local storage for storing data on the user's device. The development of HTML 5 was started by the Web Hypertext Application Technology Working Group in 2004 to address limitations of prior versions and support emerging web standards and multimedia. It is still being worked on jointly by WHATWG and the W3C.
HTML 5 is the latest version of the HTML markup language. It aims to improve HTML with support for multimedia and make it more compatible with modern web applications. Some key features of HTML 5 include the <canvas> element for drawing graphics, the <video> and <audio> elements for embedding video and audio, and local storage for storing data on the user's device. The development of HTML 5 was started by the Web Hypertext Application Technology Working Group in 2004 to address limitations of prior versions.
HTML5 Deciphered discusses HTML5 specifications and their development process. It introduces several new HTML5 elements such as <header>, <footer>, <nav>, <aside>, and <section> that provide semantic structure. It also covers new input types, native audio and video, geolocation, and the canvas element for drawing graphics. The document explains how these new features work and their current browser support.
The document provides an introduction to understanding internet basics for Visual Basic programmers. It discusses that Visual Basic allows programmers to easily produce functional web applications regardless of their experience level with internet technology. It describes internet technology as another area for development, noting how incorporating HTML and security features is similar to traditional Visual Basic development. The document also explains how applying internet technology enables extending development skills in new ways, such as reducing costs and maintenance through web deployment.
The document provides an overview of web development. It discusses what a website is and how it is hosted. It then defines web development as the process of developing websites for the internet or intranets, ranging from simple static pages to complex web applications. The document outlines the main tasks involved in web development like design, content development, scripting, and security configuration. It also discusses some key aspects to consider before developing a website such as content, hosting, interactivity, and cross-browser compatibility.
This document discusses the differences between HTML, XML, and XHTML. It covers how XHTML combines the structure of XML with the familiar tags of HTML. Key points include:
- HTML was designed for displaying web pages, XML for data exchange, and XHTML uses HTML tags with XML syntax.
- XML allows custom tags, separates content from presentation, and is self-describing, while HTML focuses on display.
- Converting to XHTML requires following XML syntax rules like closing all tags, using empty element syntax, proper nesting, and lowercase tags and attribute quotes.
This document provides an overview of HTML5 and XHTML2. It discusses the history of each standard, including periods where work took place outside the W3C. Key differences are that HTML5 focuses on evolving the existing web incrementally to support applications, while XHTML2 aimed to switch to a more declarative XML-based approach. HTML5 is natively supported in browsers, while XHTML2 likely remains most useful for server-side authoring.
The document provides an introduction to HTML by describing its key components and purposes. It explains that HTML is the standard markup language used to define the structure of web pages. HTML uses elements to describe headings, paragraphs, and other content. Elements tell browsers how to display text and other media. The document also gives a simple example of an HTML file structure.
Web standards are the formal, non-proprietary standards and other technical specifications that define and describe aspects of the World Wide Web. In recent years, the term has been more frequently associated with the trend of endorsing a set of standardized best practices for building web sites, and a philosophy of web design and development that includes those methods.
This document provides an introduction to HTML and CSS. It begins with an overview of HTML, including its history and purpose. It then covers HTML5 updates and differences from previous versions. The document also introduces CSS, explaining concepts like rules, selectors, properties, and values. It describes different methods for adding CSS to HTML, such as internal, external, and imported stylesheets. Finally, the document discusses CSS selectors like type, ID, and class selectors, as well as inheritance in CSS.
This document provides an overview of HTML and the web development process. It discusses the basic structure of an HTML document including the <html>, <head>, and <body> tags. It also describes how to write HTML code using a text editor, upload files to a web server, and view web pages in a browser. The document outlines some key HTML elements, syntax rules, and best practices for writing neat code. It also introduces several common tags for text formatting and links.
JavaScript is a scripting language that allows web pages to become interactive. It is used to validate forms, communicate with servers, and add various dynamic effects to web pages. JavaScript is not the same as Java, as it is a lightweight scripting language that can be run directly in web browsers without compilation. JavaScript code is typically embedded directly into HTML pages using <script> tags and can react to various events like button clicks or form submissions. Common JavaScript features include variables, operators, functions, events, and methods to manipulate HTML elements and styles.
The document introduces various topics related to HTML and web development, including:
- The Internet, World Wide Web, and web browsers.
- Dynamic HTML (DHTML) which combines HTML, CSS, JavaScript and the DOM to allow dynamic web content.
- An overview of HTML including basic tags for headings, paragraphs, and text formatting.
- The difference between static and dynamic HTML, with dynamic HTML allowing reorganization of content.
Advanced control scheme of doubly fed induction generator for wind turbine us...IJECEIAES
This paper describes a speed control device for generating electrical energy on an electricity network based on the doubly fed induction generator (DFIG) used for wind power conversion systems. At first, a double-fed induction generator model was constructed. A control law is formulated to govern the flow of energy between the stator of a DFIG and the energy network using three types of controllers: proportional integral (PI), sliding mode controller (SMC) and second order sliding mode controller (SOSMC). Their different results in terms of power reference tracking, reaction to unexpected speed fluctuations, sensitivity to perturbations, and resilience against machine parameter alterations are compared. MATLAB/Simulink was used to conduct the simulations for the preceding study. Multiple simulations have shown very satisfying results, and the investigations demonstrate the efficacy and power-enhancing capabilities of the suggested control system.
This document is a group assignment submitted by 6 students from Assosa University in Ethiopia on May 26, 2013. It provides information on HTML, XHTML, XML, and summarizes key differences between these markup languages. HTML is for creating web pages, XHTML is a stricter version of HTML, and XML is a generic markup language that allows users to define their own tags for transporting and storing data.
Web Engineering UNIT III as per RGPV SyllabusNANDINI SHARMA
Technologies for Web Applications: HTML and DHTML, HTML Basic Concepts, Static and dynamic HTML, Structure of HTML documents, HTML Elements, Linking in HTML, Anchor Attributes, Image Maps, Meta Information, Image Preliminaries, Layouts, Backgrounds, Colors and Text, Fonts, Tables, Frames and layers, Audio and Video Support with HTML Database integration, CSS, Positioning with Style sheets, Forms Control, Form. Elements. Introduction to CGI PERL, JAVA SCRIPT, PHP, ASP , Cookies Creating and Reading Cookies
HTML is a markup language used to structure and present content on the web. It uses elements like <p> and <div> to define paragraphs, headings, and other parts of a web page. HTML documents have a specific structure with a <head> for metadata and a <body> for visible content. The <DOCTYPE> declaration at the top defines which version of HTML the page conforms to.
The document provides an overview of three modules that cover topics in web technologies including the Internet, World Wide Web, HTML, JavaScript, CSS, DOM, CGI/Perl, Java Applets and more. Key concepts covered include how the Internet and WWW work, protocols, building websites using HTML, JavaScript programming fundamentals, external and internal CSS stylesheets, the HTML and XML DOM models, introducing CGI and Perl scripting, and writing Java applets. References for additional reading on related topics are also provided.
HTML 5 is the latest version of the HTML markup language. It introduces several new elements and features to improve the functionality of web pages, including the <canvas> element for drawing graphics, the <video> and <audio> elements for embedding video and audio, and local storage for storing data on the user's device. The development of HTML 5 was started by the Web Hypertext Application Technology Working Group in 2004 to address limitations of prior versions and support emerging web standards and multimedia. It is still being worked on jointly by WHATWG and the W3C.
HTML 5 is the latest version of the HTML markup language. It aims to improve HTML with support for multimedia and make it more compatible with modern web applications. Some key features of HTML 5 include the <canvas> element for drawing graphics, the <video> and <audio> elements for embedding video and audio, and local storage for storing data on the user's device. The development of HTML 5 was started by the Web Hypertext Application Technology Working Group in 2004 to address limitations of prior versions.
HTML5 Deciphered discusses HTML5 specifications and their development process. It introduces several new HTML5 elements such as <header>, <footer>, <nav>, <aside>, and <section> that provide semantic structure. It also covers new input types, native audio and video, geolocation, and the canvas element for drawing graphics. The document explains how these new features work and their current browser support.
The document provides an introduction to understanding internet basics for Visual Basic programmers. It discusses that Visual Basic allows programmers to easily produce functional web applications regardless of their experience level with internet technology. It describes internet technology as another area for development, noting how incorporating HTML and security features is similar to traditional Visual Basic development. The document also explains how applying internet technology enables extending development skills in new ways, such as reducing costs and maintenance through web deployment.
The document provides an overview of web development. It discusses what a website is and how it is hosted. It then defines web development as the process of developing websites for the internet or intranets, ranging from simple static pages to complex web applications. The document outlines the main tasks involved in web development like design, content development, scripting, and security configuration. It also discusses some key aspects to consider before developing a website such as content, hosting, interactivity, and cross-browser compatibility.
This document discusses the differences between HTML, XML, and XHTML. It covers how XHTML combines the structure of XML with the familiar tags of HTML. Key points include:
- HTML was designed for displaying web pages, XML for data exchange, and XHTML uses HTML tags with XML syntax.
- XML allows custom tags, separates content from presentation, and is self-describing, while HTML focuses on display.
- Converting to XHTML requires following XML syntax rules like closing all tags, using empty element syntax, proper nesting, and lowercase tags and attribute quotes.
This document provides an overview of HTML5 and XHTML2. It discusses the history of each standard, including periods where work took place outside the W3C. Key differences are that HTML5 focuses on evolving the existing web incrementally to support applications, while XHTML2 aimed to switch to a more declarative XML-based approach. HTML5 is natively supported in browsers, while XHTML2 likely remains most useful for server-side authoring.
The document provides an introduction to HTML by describing its key components and purposes. It explains that HTML is the standard markup language used to define the structure of web pages. HTML uses elements to describe headings, paragraphs, and other content. Elements tell browsers how to display text and other media. The document also gives a simple example of an HTML file structure.
Web standards are the formal, non-proprietary standards and other technical specifications that define and describe aspects of the World Wide Web. In recent years, the term has been more frequently associated with the trend of endorsing a set of standardized best practices for building web sites, and a philosophy of web design and development that includes those methods.
This document provides an introduction to HTML and CSS. It begins with an overview of HTML, including its history and purpose. It then covers HTML5 updates and differences from previous versions. The document also introduces CSS, explaining concepts like rules, selectors, properties, and values. It describes different methods for adding CSS to HTML, such as internal, external, and imported stylesheets. Finally, the document discusses CSS selectors like type, ID, and class selectors, as well as inheritance in CSS.
This document provides an overview of HTML and the web development process. It discusses the basic structure of an HTML document including the <html>, <head>, and <body> tags. It also describes how to write HTML code using a text editor, upload files to a web server, and view web pages in a browser. The document outlines some key HTML elements, syntax rules, and best practices for writing neat code. It also introduces several common tags for text formatting and links.
JavaScript is a scripting language that allows web pages to become interactive. It is used to validate forms, communicate with servers, and add various dynamic effects to web pages. JavaScript is not the same as Java, as it is a lightweight scripting language that can be run directly in web browsers without compilation. JavaScript code is typically embedded directly into HTML pages using <script> tags and can react to various events like button clicks or form submissions. Common JavaScript features include variables, operators, functions, events, and methods to manipulate HTML elements and styles.
The document introduces various topics related to HTML and web development, including:
- The Internet, World Wide Web, and web browsers.
- Dynamic HTML (DHTML) which combines HTML, CSS, JavaScript and the DOM to allow dynamic web content.
- An overview of HTML including basic tags for headings, paragraphs, and text formatting.
- The difference between static and dynamic HTML, with dynamic HTML allowing reorganization of content.
Advanced control scheme of doubly fed induction generator for wind turbine us...IJECEIAES
This paper describes a speed control device for generating electrical energy on an electricity network based on the doubly fed induction generator (DFIG) used for wind power conversion systems. At first, a double-fed induction generator model was constructed. A control law is formulated to govern the flow of energy between the stator of a DFIG and the energy network using three types of controllers: proportional integral (PI), sliding mode controller (SMC) and second order sliding mode controller (SOSMC). Their different results in terms of power reference tracking, reaction to unexpected speed fluctuations, sensitivity to perturbations, and resilience against machine parameter alterations are compared. MATLAB/Simulink was used to conduct the simulations for the preceding study. Multiple simulations have shown very satisfying results, and the investigations demonstrate the efficacy and power-enhancing capabilities of the suggested control system.
Null Bangalore | Pentesters Approach to AWS IAMDivyanshu
#Abstract:
- Learn more about the real-world methods for auditing AWS IAM (Identity and Access Management) as a pentester. So let us proceed with a brief discussion of IAM as well as some typical misconfigurations and their potential exploits in order to reinforce the understanding of IAM security best practices.
- Gain actionable insights into AWS IAM policies and roles, using hands on approach.
#Prerequisites:
- Basic understanding of AWS services and architecture
- Familiarity with cloud security concepts
- Experience using the AWS Management Console or AWS CLI.
- For hands on lab create account on [killercoda.com](https://killercoda.com/cloudsecurity-scenario/)
# Scenario Covered:
- Basics of IAM in AWS
- Implementing IAM Policies with Least Privilege to Manage S3 Bucket
- Objective: Create an S3 bucket with least privilege IAM policy and validate access.
- Steps:
- Create S3 bucket.
- Attach least privilege policy to IAM user.
- Validate access.
- Exploiting IAM PassRole Misconfiguration
-Allows a user to pass a specific IAM role to an AWS service (ec2), typically used for service access delegation. Then exploit PassRole Misconfiguration granting unauthorized access to sensitive resources.
- Objective: Demonstrate how a PassRole misconfiguration can grant unauthorized access.
- Steps:
- Allow user to pass IAM role to EC2.
- Exploit misconfiguration for unauthorized access.
- Access sensitive resources.
- Exploiting IAM AssumeRole Misconfiguration with Overly Permissive Role
- An overly permissive IAM role configuration can lead to privilege escalation by creating a role with administrative privileges and allow a user to assume this role.
- Objective: Show how overly permissive IAM roles can lead to privilege escalation.
- Steps:
- Create role with administrative privileges.
- Allow user to assume the role.
- Perform administrative actions.
- Differentiation between PassRole vs AssumeRole
Try at [killercoda.com](https://killercoda.com/cloudsecurity-scenario/)
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...IJECEIAES
Climate change's impact on the planet forced the United Nations and governments to promote green energies and electric transportation. The deployments of photovoltaic (PV) and electric vehicle (EV) systems gained stronger momentum due to their numerous advantages over fossil fuel types. The advantages go beyond sustainability to reach financial support and stability. The work in this paper introduces the hybrid system between PV and EV to support industrial and commercial plants. This paper covers the theoretical framework of the proposed hybrid system including the required equation to complete the cost analysis when PV and EV are present. In addition, the proposed design diagram which sets the priorities and requirements of the system is presented. The proposed approach allows setup to advance their power stability, especially during power outages. The presented information supports researchers and plant owners to complete the necessary analysis while promoting the deployment of clean energy. The result of a case study that represents a dairy milk farmer supports the theoretical works and highlights its advanced benefits to existing plants. The short return on investment of the proposed approach supports the paper's novelty approach for the sustainable electrical system. In addition, the proposed system allows for an isolated power setup without the need for a transmission line which enhances the safety of the electrical network
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...shadow0702a
This document serves as a comprehensive step-by-step guide on how to effectively use PyCharm for remote debugging of the Windows Subsystem for Linux (WSL) on a local Windows machine. It meticulously outlines several critical steps in the process, starting with the crucial task of enabling permissions, followed by the installation and configuration of WSL.
The guide then proceeds to explain how to set up the SSH service within the WSL environment, an integral part of the process. Alongside this, it also provides detailed instructions on how to modify the inbound rules of the Windows firewall to facilitate the process, ensuring that there are no connectivity issues that could potentially hinder the debugging process.
The document further emphasizes on the importance of checking the connection between the Windows and WSL environments, providing instructions on how to ensure that the connection is optimal and ready for remote debugging.
It also offers an in-depth guide on how to configure the WSL interpreter and files within the PyCharm environment. This is essential for ensuring that the debugging process is set up correctly and that the program can be run effectively within the WSL terminal.
Additionally, the document provides guidance on how to set up breakpoints for debugging, a fundamental aspect of the debugging process which allows the developer to stop the execution of their code at certain points and inspect their program at those stages.
Finally, the document concludes by providing a link to a reference blog. This blog offers additional information and guidance on configuring the remote Python interpreter in PyCharm, providing the reader with a well-rounded understanding of the process.
Comparative analysis between traditional aquaponics and reconstructed aquapon...bijceesjournal
The aquaponic system of planting is a method that does not require soil usage. It is a method that only needs water, fish, lava rocks (a substitute for soil), and plants. Aquaponic systems are sustainable and environmentally friendly. Its use not only helps to plant in small spaces but also helps reduce artificial chemical use and minimizes excess water use, as aquaponics consumes 90% less water than soil-based gardening. The study applied a descriptive and experimental design to assess and compare conventional and reconstructed aquaponic methods for reproducing tomatoes. The researchers created an observation checklist to determine the significant factors of the study. The study aims to determine the significant difference between traditional aquaponics and reconstructed aquaponics systems propagating tomatoes in terms of height, weight, girth, and number of fruits. The reconstructed aquaponics system’s higher growth yield results in a much more nourished crop than the traditional aquaponics system. It is superior in its number of fruits, height, weight, and girth measurement. Moreover, the reconstructed aquaponics system is proven to eliminate all the hindrances present in the traditional aquaponics system, which are overcrowding of fish, algae growth, pest problems, contaminated water, and dead fish.
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...IJECEIAES
Medical image analysis has witnessed significant advancements with deep learning techniques. In the domain of brain tumor segmentation, the ability to
precisely delineate tumor boundaries from magnetic resonance imaging (MRI)
scans holds profound implications for diagnosis. This study presents an ensemble convolutional neural network (CNN) with transfer learning, integrating
the state-of-the-art Deeplabv3+ architecture with the ResNet18 backbone. The
model is rigorously trained and evaluated, exhibiting remarkable performance
metrics, including an impressive global accuracy of 99.286%, a high-class accuracy of 82.191%, a mean intersection over union (IoU) of 79.900%, a weighted
IoU of 98.620%, and a Boundary F1 (BF) score of 83.303%. Notably, a detailed comparative analysis with existing methods showcases the superiority of
our proposed model. These findings underscore the model’s competence in precise brain tumor localization, underscoring its potential to revolutionize medical
image analysis and enhance healthcare outcomes. This research paves the way
for future exploration and optimization of advanced CNN models in medical
imaging, emphasizing addressing false positives and resource efficiency.
artificial intelligence and data science contents.pptxGauravCar
What is artificial intelligence? Artificial intelligence is the ability of a computer or computer-controlled robot to perform tasks that are commonly associated with the intellectual processes characteristic of humans, such as the ability to reason.
› ...
Artificial intelligence (AI) | Definitio
3. What is HTML and Where
did it come from?, HTML
Syntax, Semantic Markup,
Structure of HTML
Documents….
What is CSS, CSS
Syntax, Location of
Styles, Selectors, The
Cascade: How
Styles Interact, The
Box Model, CSS Text
Styling.
Module 1 from AITM
Module 1 Lite
4. What is HTML and Where did it come from?, HTML
Syntax, Semantic Markup, Structure of HTML Documents, Quick Tour of
HTML Elements, HTML5 Semantic Structure Elements.
5. What Is HTML and Where Did It Come from?
HTML is defined as a
markup language.
< > < />
01
A markup language is
simply a way of
annotating a
document in such a
way as to make the
annotations distinct
from the text being
annotated. 02
In addition to
specifying
“information about
content” many
markup languages are
able to encode
information how to
display the content
for the end user. 04
For Example HTML,
Tex, XML, and XHTML
03
6. What Is HTML and Where Did It Come from? Cont…
▪ The first public specification of the HTML by
Tim Berners-Lee in 1991
▪ HTML’s codification by the World Wide Web
Consortium (W3C) in 1997
▪ Some histories of HTML might also tell stories
about the Netscape Navigator and Microsoft
Internet Explorer of the early and mid-1990s,
▪ a time when intrepid developers working for
the two browser manufacturers ignored the
W3C and brought forward a variety of
essential new tags (such as, for instance, the
<table>tag),
▪ features such as CSS and JavaScript, all of
which have been essential to the growth and
popularization of the web.
Perhaps in reaction to these manufacturer innovations,
in 1998 the W3C froze the HTML specification at
version 4.01. This specification begins by stating:
To publish information for global distribution, one needs
a universally understood language, a kind of publishing
mother tongue that all computers may potentially
understand. The publishing language used by the World
Wide Web is HTML (from HyperText Markup Language).
7. ▪ Instead of growing HTML ,the W3C turned its attention in the late 1990s to a new
specification called XHTML 1.0, which was a version of HTML that used stricter XML
(extensible markup language) syntax rules.
▪ As the web evolved in the 1990s, web browsers evolved into quite permissive and lenient
programs. They could handle sloppy HTML, missing or malformed tags, and other syntax
errors.
▪ The goal of XHTML with its strict rules was to make page rendering more predictable by
forcing web authors to create web pages without syntax errors.
The main rules are:
▪ There must be a single root element.
▪ Element names are composed of any of the valid characters (most punctuation
symbols and spaces are not allowed) in XML.
▪ Element names can’t start with a number.
▪ Element and attribute names are case sensitive.
▪ Attributes must always be within quotes.
▪ All elements must have a closing element (or be self-closing).
XHTML
8. ▪ During much of the 2000s, the focus in the professional web development community was
on standards: that is, on limiting oneself to the W3C specification for XHTML.
▪ A key part of the standards movement in the web development community of the 2000s
was the use of HTML validators.
▪ Yet despite the presence of XHTML validators and the peer pressure from book authors,
actual web browsers tried to be forgiving when encountering badly formed HTML so that
pages worked more or less how the authors intended regardless of whether a document
was XHTML valid or not.
▪ In the mid-2000s, the W3C presented a draft of the XHTML 2.0 specification. It proposed a
revolutionary and substantial change to HTML.
▪ The most important was that backwards compatibility with HTML and XHTML 1.0 was
dropped.
▪ Gradual discomfort on the part of the browser manufacturers and the web development
community at large, who were faced with making substantial changes to all existing web
pages.
XHTML cont….
9. ▪ At around the same time the XHTML 2.0 specification was being developed, a group of
developers at Opera and Mozilla formed the WHATWG (Web Hypertext Application
Technology Working Group) group within the W3C.
▪ This group was not convinced that the W3C’s embrace of XML and its abandonment of
backwards-compatibility was the best way forward for the web.
▪ There are three main aims to HTML5:
1. Specify unambiguously how browsers should deal with invalid markup.
2. Provide an open, non-proprietary programming framework (via JavaScript) for
creating rich web applications.
3. Be backwards compatible with the existing web.
▪ In late September 2012, the W3C announced that they planned to have the main elements
of the HTML5 specification moved to Recommendation status (i.e., the specification would
be finalized in terms of features) by late 2014, and the less stable parts of HTML5 moved
to HTML5.1
HTML5
10. Elements and Attributes
▪ HTML documents are composed of textual content and HTML elements.
▪ an HTML element is a more expansive term that encompasses the element name
within angle brackets (i.e., the tag) and the content within the tag.
▪ The element name appears in both the beginning tag and the closing tag.
▪ HTML elements can also contain attributes. An HTML attribute is a name=value pair
that provides more information about the HTML element.
▪ An empty element does not contain any text content; instead, it is an instruction to
the browser to do something.
HTML Syntax
11. Nesting HTML Elements
an HTML element
will contain other
HTML elements. In
such a case, the
container element
is said to be a
parent of the
contained, or child,
element. 01
Any elements
contained within
the child are said
to be descendants
of the parent
element; likewise,
any given child
element, may have
a variety of
ancestors.
02
12. ▪ HTML documents should only focus on the structure of the document; information about
how the content should look when it is displayed in the browser is best left to CSS
(Cascading Style Sheets),
▪ an HTML document should not describe how to visually present content, but only describe
its content’s structural semantics or meaning.
▪ Structure is a vital way of communicating information in paper and electronic documents.
▪ Eliminating presentation-oriented markup and writing semantic HTML markup has a
variety of important advantages:
▪ Maintainability
▪ Faster
▪ Accessibility
▪ Search engine optimization
Semantic Markup
13. <!DOCTYPE html>
<title>A Very Small Document</title>
<p>This is a simple document with not much content</p>
▪ The <title> elementis used to provide a broad description of the content.
▪ The title is not displayed within the browser window. Instead, the title is typically
displayed by the browser in its window and/or tab.
▪ The title is used by the browser for its bookmarks and its browser history list.
▪ The operating system might also use the page’s title, for instance, in the Windows taskbar
or in the Mac dock.
▪ search engines will typically use the page’s title as the linked text in their search engine
result pages.
Structure of HTML Documents
14. Structure of HTML Documents cont…
Each reference to an external file in an HTML document, whether it be an image, an external style sheet, or a JavaScript
file, generates additional HTTP requests resulting in slower load times and degraded performance.
15. 1) DOCTYPE
▪ the DOCTYPE (short for Document Type Definition) element, which tells the browser (or
any other client software that is reading this HTML document) what type of document it is
about to process.
▪ The HTML5 doctype is quite short in comparison to one of the standard doctype
specifications for XHTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
▪ The XHTML doctype instructed the browser to follow XHTML rules.
▪ Document Type Definitions (DTD) define a document’s type for markup languages such as
HTML and XML.
▪ In both these markup languages, the DTD must appear near the beginning of the
document.
Structure of HTML Documents cont…
16. Quick Tour of HTML Elements
▪ HTML provides six levels of heading (h1
through h6), with the higher heading
number indicating a heading of less
importance.
▪ Headings are also used by the browser to
create a document outline for the page.
▪ This outline is not something that you see.
Rather, it is an internal data representation
of the control on the page.
▪ This document outline is constructed from
headings and other structural tags in your
content
▪ There is a variety of web-based tools that
can be used to see the document outline.
one of these tools; this one is available
from
http://gsnedders.html5.org/outliner/.
17. Links
You can use the anchor element to create a wide range of links.
These include:
▪ Links to external sites (or to individual resources such as images or movies on an
external site).
▪ Links to other pages or resources within the current site.
▪ Links to other places within the current page.
▪ Links to particular locations on another page (whether on the same site or
on an external site).
▪ Links that are instructions to the browser to start the user’s email program.
▪ Links that are instructions to the browser to execute a JavaScript function.
▪ Links that are instructions to the mobile browser to make a phone call.
19. ▪ Whether we are constructing links with the <a> element, referencing images with the
<img> element, or including external JavaScript or CSS files, we need to be able to
successfully reference files within our site.
▪ This requires learning the syntax for so-called relative referencing
▪ From above slide you have learned that when referencing a page or resource on an
external site, a full absolute reference is required: that is, a complete URL.
▪ However, when referencing a resource that is on the same server as your HTML document,
you can use briefer relative referencing.
▪ If the URL does not include the “http://” then the browser will request the current server
for the file.
▪ If all the resources for the site reside within the same directory then you can reference
those other resources simply via their file name.
URL Relative Referencing
20. ▪ However, most real-world sites contain too many files to put them all within a single
directory.
▪ For these situations, a relative pathname is required along with the file name.
▪ The pathname tells the browser where to locate the file on the server.
▪ Pathnames on the web follow Unix conventions. Forward slashes (“/”) are used to
separate directory names from each other and from file names.
▪ Double-periods (“..”) are used to reference a directory “above” the current one in the
directory tree.
Additional explanations and examples of the different types of URL referencing on page
number 77.
▪ You can force a link to open in a new browser window by adding the target="_blank"
attribute to any link.
URL Relative Referencing cont….
21. ▪ They are called inline
elements because they
do not disrupt the flow
of text
Inline Text Elements
Element Description Element Description
<a> Anchor used for hyperlinks.
<abbr> An abbreviation
<br> Line break
<cite> Citation (i.e., a reference to another work).
<code> Used for displaying code, such as markup or programming code.
<em> Emphasis
<mark> For displaying highlighted text
<small> For displaying the fine-print, i.e., “non-vital” text, such as copyright
or legal notices.
<span> The inline equivalent of the <div> element. It is generally used to
mark text that will receive special formatting using CSS.
<strong> For content that is strongly important.
<time> For displaying time and date data
22. ▪ The <img> tag is the oldest method for displaying an image, it is not the only way.
▪ In fact, it is very common for images to be added to HTML elements via the background-
image property in CSS.
▪ For purely decorative images, such as background gradients and patterns, logos, border
art, and so on, it makes semantic sense to keep such images out of the markup and in CSS
where they more rightly belong.
▪ when the images are content, such as in the images in a gallery or the image of a product
in a product details page, then the <img> tag is the semantically appropriate approach.
Images
24. HTML provides three types of
lists:
■ Unordered lists. Collections of
items in no particular order;
these are by default rendered by
the browser as a bulleted list.
■ Ordered lists. Collections of
items that have a set order;
these are by default rendered by
the browser as a numbered list.
■ Definition lists. Collection of
name and definition pairs. These
tend to be used infrequently.
Lists
25. ▪ As HTML5 was being developed, researchers at Google and Opera had their search spiders
examine millions of pages to see what were the most common id and class names. Their
findings helped standardize the names of the new semantic block structuring elements in
HTML5.
▪ The idea behind using these elements is that your markup will be easier to understand
because you will be able to replace some of your <div> sprawl with cleaner and more self-
explanatory HTML5 elements.
HTML5 Semantic Structure Elements
• Sample <div>-based XHTML layout (with HTML5 equivalents)
on page number 82
• Sample layout using new HTML5 semantic structure elements
on page number 83
26. ▪ Most website pages have a recognizable header and footer section.
▪ Typically the header contains the site logo and title (and perhaps additional subtitles or
taglines), horizontal navigation links, and perhaps one or two horizontal banners.
▪ The typical footer contains less important material, such as smaller text versions of the
navigation, copyright notices, information about the site’s privacy policy, and perhaps
twitter feeds or links to other social sites.
▪ Both the HTML5 <header> and <footer> element can be used not only for page headers
and footers but also for header and footer elements within other HTML5 containers, such
as <article> or <section>
Header and Footer
27. ▪ It is not that unusual for a header to
contain multiple headings in close
proximity. The <hgroup> element can
be used in such a circumstance to
group them together within one
container.
▪ The <hgroup> element can be used in
contexts other than a header. For
instance, one could also use an
<hgroup> within an <article> or a
<section> element as well.
▪ The <hgroup> element can only
contain <h1>, <h2>, etc., elements.
Heading Groups
<header>
<hgroup>
<h1>Chapter Two: HTML 1</h1>
<h2>An Introduction</h2>
</hgroup>
</header>
<article>
<hgroup>
<h2>HTML5 Semantic Structure</h2>
<h3>Overview</h3>
</hgroup>
</article>
28. ▪ The <nav> element represents a section of
a page that contains links to other pages
or to other parts within the same page.
▪ from the browser’s perspective, there is
no definite right or wrong way to use the
<nav> element.
▪ Its sole purpose is to make your markup
easier to understand, and by limiting the
use of the <nav> element to major
elements, your markup will more likely
achieve that aim.
Navigation
<header>
<img src="logo.gif" alt="logo" />
<h1>Fundamentals of Web Development</h1>
<nav role="navigation">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="browse.html">Browse</a></li>
</ul>
</nav>
</header>
29. ▪ The book you are reading is divided into smaller blocks of content called chapters, which
make this long book easier to read.
▪ Furthermore, each chapter is further divided into sections (and these sections into even
smaller subsections), all of which make the content of the book easier to manage for both
the reader and the authors.
▪ The new HTML5 semantic elements <section> and <article> play a similar role within web
pages.
▪ According to the W3C, <section> is a much broader element, while the <article> element
is to be used for blocks of content that could potentially be read or consumed
independently of the other content on the page.
Articles and Sections
30. ▪ Prior to HTML5, web authors
typically wrapped images and
their related captions within a
nonsemantic <div> element. In
HTML5 we can instead use the
more obvious <figure> and
<figcaption> elements
▪ The W3C Recommendation
indicates that the <figure>
element can be used not just for
images but for any type of
essential content that could be
moved to a different location in
the page or document and the
rest of the document would still
make sense.
Figure and Figure Captions
31. ▪ The <aside> element is similar to the <figure> element in that it is used for marking up
content that is separate from the main content on the page.
▪ the <figure> element was used to indicate important information whose location on the
page is somewhat unimportant.
▪ The <aside> element “represents a section of a page that consists of content that is
tangentially related to the content around the aside element” (from WHATWG
specification).
▪ The <aside> element could thus be used for sidebars, pull quotes, groups of advertising
images, or any other grouping of non-essential elements.
Aside
32.
33. Introduction to CSS,
What is CSS, CSS Syntax, Location of Styles, Selectors, The Cascade: How
Styles Interact, The Box Model, CSS Text Styling.
34. What Is CSS?
▪ In current web development best practices HTML should not describe the formatting or
presentation of documents. Instead that presentation task is best performed using
Cascading Style Sheets (CSS).
▪ CSS is a W3C standard for describing the appearance of HTML elements.
▪ With CSS, we can assign font properties, colors, sizes, borders, background images, and
even position elements on the page.
▪ CSS can be added directly to any HTML element (via the style attribute), within the
<head> element, or, most commonly, in a separate text file that contains only CSS.
35. Benefits of CSS
Improved control over
formatting.
The degree of formatting control in CSS is
significantly better than that provided in
HTML. CSS gives web authors fine-grained
control over the appearance of their web
content.
Improved accessibility
CSS-driven sites are more accessible. By
keeping presentation out of the HTML, screen
readers and other accessibility tools work
better, thereby providing a significantly
enriched experience for those
reliant on accessibility tools.
Improved page download
speed.
A site built using a centralized set of CSS files
for all presentation will also be quicker to
download because each individual HTML file
will contain less style information and
markup, and thus be smaller.
Improved site maintainability
Websites become significantly more maintainable
because all formatting can be centralized into one CSS
file, or a small handful of them. This allows you to
make site-wide visual modifications by changing a
single file.
Improved output flexibility
CSS can be used to adopt a page for different
output media. This approach to CSS page
design is often referred to as responsive
design.
36. CSS Versions
• In the early 1990s, a variety of different style sheet standards were proposed,
including JavaScript style sheets, which was proposed by Netscape in 1996.
• Netscape’s proposal was one that required the use of JavaScript programming to
perform style changes.
• Thankfully for nonprogrammers everywhere, the W3C decided to adopt CSS, and by
the end of 1996 the CSS Level 1 Recommendation was published.
• A year later, the CSS Level 2 Recommendation was published.
• during the same time the CSS2.1 standard was being worked on, a different group at
the W3C was working on a CSS3 draft.
• To make CSS3 more manageable for both browser manufacturers and web designers,
the W3C has subdivided it into a variety of different CSS3 modules.
• So far the following CSS3 modules have made it to official W3C Recommendations:
CSS Selectors, CSS Namespaces, CSS Media Queries, and CSS Color.
37. Browser Adoption
• Perhaps the most important thing to keep in mind with CSS is that the different
browsers have not always kept up to the W3C.
• While Microsoft’s Internet Explorer was an early champion of CSS (its IE3, released in
1996)
• its later versions (especially IE5, IE6, and IE7) for Windows had uneven support for
certain parts of CSS2.
• For this reason, CSS has a reputation for being a somewhat frustrating language.
• CSS was not really designed to be a layout language, so authors often find it tricky
dealing with floating elements, relative positions, inconsistent height handling,
overlapping margins, and nonintuitive naming.
38. CSS Syntax
▪ A CSS document consists of one or more style rules.
▪ A rule consists of a selector that identifies the HTML element or elements that will be
affected, followed by a series of property : value pairs.
▪ The series of declarations is also called the declaration block.
• Commonly used CSS Properties on
page number 99
• Colour Values table on page number
100
• Units of Measure Values table on
page number 101
40. Selectors
▪ As teachers, we often need to be able to relay a message or instruction to either
individual students or groups of students in our classrooms.
▪ Once we have used our student selector, we can then provide some type of message or
instruction.
▪ In a similar way, when defining CSS rules, you will need to first use a selector to tell the
browser which elements will be affected by the property values.
▪ CSS selectors allow you to select individual or multiple HTML elements.
01
02
03
04
05
06
41. Element Selectors
▪ Element selectors select all instances of a given HTML element.
▪ You can select all elements by using the universal element selector, which is
the * (asterisk) character.
▪ You can select a group of elements by separating the different element
names with commas.
Sample grouped selector on page number 107
01
42. Class Selectors
▪ A class selector allows you to simultaneously target different HTML elements regardless
of their position in the document tree.
▪ If a series of HTML elements have been labelled with the same class attribute value, then
you can target them for styling by using a class selector, which takes the form: period (.)
followed by the class name.
Class selector example on page number 108
Id Selectors
▪ An id selector allows you to target a specific element by its id attribute regardless of its
type or position.
▪ If an HTML element has been labelled with an id attribute, then you can target it for
styling by using an id selector, which takes the form: hash (#) followed by the id name.
Id selector example on page number 109
02
03
43. Attribute Selectors
▪ An attribute selector provides a way to select HTML elements either by the
presence of an element attribute or by the value of an attribute.
▪ Attribute selectors can be a very helpful technique in the styling of hyperlinks
and images. For instance, perhaps we want to make it more obvious to the
user when a pop-up tooltip is available for a link or image.
Attribute selector example on page number 110
Attribute Selectors table on page number 111
04
44. Pseudo-Element and Pseudo-Class Selectors
▪ A pseudo-element selector is a way to select something that does not exist
explicitly as an element in the HTML document tree but which is still a
recognizable selectable object.
▪ For instance, you can select the first line or first letter of any HTML element
using a pseudo-element selector.
▪ A pseudo-class selector does apply to an HTML element, but targets either a
particular state or, in CSS3, a variety of family relationships.
Common Pseudo-Class Selectors table on page number 112
Styling a link using pseudo-class selectors example on page number 113
05
45. Contextual Selectors
▪ A contextual selector (in CSS3 also called combinators) allows you to select
elements based on their ancestors, descendants, or siblings.
▪ That is, it selects elements based on their context or their relation to other
elements in the document tree.
Other contextual selectors table on page number 114
Contextual selectors example on page number 115
06
▪ A descendant selector
matches all elements
that are contained
within another
element.
46. The Cascade: How Styles Interact
▪ There are three different types of style sheets: author-created, user-defined, and the
default browser style sheet.
▪ As well, it is possible within an author-created stylesheet to define multiple rules for the
same HTML element. For these reasons, CSS has a system to help the browser determine
how to display elements when different style rules conflict.
▪ CSS uses the following cascade principles to help it deal with conflicts:
47. Inheritance
▪ Inheritance is the first of these cascading principles. Many (but not all) CSS properties
affect not only themselves but their descendants as well.
▪ Font, colour, list, and text properties (from Table 3.1) are inheritable; layout, sizing,
border, background, and spacing properties are not.
▪ However, it is possible to tell elements to inherit properties that are normally not
inheritable
Figures on page number 117 and 118
Specificity
▪ Specificity is how the browser determines which style rule takes precedence when more
than one style rule could be applied to the same element.
▪ In CSS, the more specific the selector, the more it takes precedence
Figures on page number 119
48. Location
▪ The principle of location is that when rules have the same specificity, then the latest are
given more weight.
▪ For instance, an inline style will override one defined in an external author style sheet or
an embedded style sheet.
▪ an embedded style will override an equally specific rule defined in an external author
style sheet if it appears after the external sheet’s <link> element.
▪ Styles defined in external author style sheet X will override styles in external author style
sheet Y if X’s <link> element is after Y’s in the HTML document.
Specificity algorithm on page number 120
Figure Location on page number 122
49. The Box Model
▪ In CSS, all HTML elements exist within an element box
50. Background
▪ In contemporary web design, it has become extremely common to use CSS to display
purely presentational images (such as background gradients and patterns, decorative
images, etc.) rather than using the <img> element.
Common Background Properties table on page number 124
Background Examples on page number 125
Borders
▪ Borders provide a way to visually separate elements. You can put borders around all four
sides of an element, or just one, two, or three of the sides.
Border Properties table on page number 126
51. Margins and Padding
▪ Margins and padding are essential properties for adding white space to a
web page, which can help differentiate one element from another.
▪ With border, margin, and padding properties, it is possible to set the
properties for one or more sides of the element box in a single property, or
to set them individually using separate properties.
Example on page number 128
Example on page number 129
52. Box Dimensions
▪ The width of and height of elements is the actual size of the content.
▪ For text, this is determined by the font size and font face; for images, the width and height
of the actual image in pixels.
▪ Since the width and the height only refer to the size of the content area, the total size of
an element is equal to the size of its content area plus the sum of its padding, borders,
and margins.
an element’s true size on page number 130
▪ For block-level elements such as <p> and <div> elements, there are limits to what the
width and height properties can actually do.
▪ You can shrink the width, but the content still needs to be displayed, so the browser may
very well ignore the height that you set.
▪ It is possible to control what happens with the content if the box’s width and height are
not large enough to display the content using the overflow property
Limitations of height property on page number 131
Overflow property on page number 132
53. Box Dimensions
▪ Many contemporary designers prefer to use percentages or em units for widths and
heights.
▪ When you use percentages, the size is relative to the size of the parent element, while
using ems makes the size of the box relative to the size of the text with in it.
▪ The rationale behind using these relative measures is to make one’s design scalable to the
size of the browser or device that is viewing it.
▪ One of the problems with using percentages as the unit for sizes is that as the browser
window shrinks too small or expands too large elements might become too small or too
large.
▪ You can put absolute pixel constraints on the minimum and maximum sizes via the min-
width, min-height, max-width, and max-height properties.
Box sizing via percent's on page number 133
54. CSS Text Styling
▪ CSS provides two types of properties that affect text.
▪ The first we call font properties because they affect the font and its appearance.
▪ The second type of CSS text properties are referred to here as paragraph properties since
they affect the text in a similar way no matter which font is being used.
Font Properties on page number 135
Font Family
▪ Just because a given font is available on the web
developer’s computer, it does not mean that that
same font will be available for all users who view
the site.
▪ For this reason, it is conventional to supply a so-
called web font stack, that is, a series of alternate
fonts to use in case the original font choice is not
on the user’s computer.
55. Font Sizes
▪ while sizing with pixels provides precise control, if we wish to create web layouts that
work well on different devices, we should learn to use relative units such as em units or
percentages for our font sizes.
▪ When used to specify a font size, both em units and percentages are relative to the
parent’s font size.
▪ While this looks pretty easy to master, things unfortunately can quickly become quite
complicated. Remember that percents and em units are relative to their parents.
Figure on page number 138 and 139
▪ In reality it can quickly become difficult to calculate actual sizes when there are nested
elements.
▪ For this reason, CSS3 now supports a new relative measure, the rem (for root em unit).
This unit is always relative to the size of the root element
Figure on page number 139
56. Paragraph Properties
▪ Just as there are properties that affect the font in CSS, there are also a range
of CSS properties that affect text independently of the font.
Most common text properties on page number 140