Web design refers to designing websites for display on the internet and focuses on the user experience. There are two common methods for designing websites that work on desktop and mobile: responsive design uses one layout that adjusts elements based on screen size, while adaptive design uses fixed layouts optimized for common screen sizes. HTML is the standard markup language used to define web page structure and elements like headings, paragraphs, links, and images. CSS can be used to style HTML elements by controlling properties like font, size, color, and alignment.
HTML is a markup language used to define the structure and layout of web pages. Key points:
- HTML uses tags like <h1> and <p> to mark up headings, paragraphs, and other elements. A web browser reads HTML tags to display web pages.
- Common HTML elements include headings, paragraphs, links, images, lists, and tables. CSS can be used to style and lay out HTML elements.
- HTML documents have a basic structure including <html>, <head>, and <body> tags where content is placed.
HTML5 is the latest version of HTML that focuses on web applications and includes new elements such as <video>, <audio>, and <canvas>. It also provides better support for multimedia playback and offline storage. Some key features of HTML5 include new semantic elements, form controls, and drawing capabilities. While not fully standardized, all major browsers support many HTML5 features in their latest versions. CSS3 builds on CSS2 and introduces new modules for borders, backgrounds, text effects and more to create more advanced visual styles without relying on images.
The document provides an overview of full stack web development, including front-end technologies like HTML, CSS, JavaScript and back-end technologies like PHP, Java, and Python. It discusses how websites are structured and hosted, how web pages are built using HTML, and how text editors can be used to write HTML code. It also covers common web development terms like protocols, URLs, and how CSS is used to style web pages.
HTML is a markup language used to define the structure and layout of web pages. HTML uses tags to mark elements like headings, paragraphs, links, images, and tables. Some key tags include:
<h1> for main headings, <p> for paragraphs, <a> for links, <img> for images, and <table> for tables. Elements are everything between a starting and ending tag. HTML documents contain tags and plain text and are displayed in web browsers.
Web pages are hypertext documents connected to the World Wide Web. They are displayed using web browsers, which are programs that retrieve and display HTML files. Web servers are computers that deliver web pages to users, and have IP addresses and domain names. There are two main types of websites: static and dynamic. The basic structure of an HTML web page includes tags such as <!DOCTYPE>, <html>, <head>, <title>, and <body>. Cascading Style Sheets (CSS) is a language used to describe the presentation and formatting of web pages, and can be inserted via external style sheets, internal style sheets, or inline styles.
The document provides information on HTML (Hypertext Markup Language) including what the World Wide Web and hypertext are, the basic structure and elements of an HTML document, common HTML tags for formatting text like headings, paragraphs, line breaks, and bold/italic text, and how to add comments in HTML.
This document provides an introduction to HTML, covering the basic building blocks and structure. It discusses that HTML stands for Hypertext Markup Language and allows users to organize and link text on the internet. The key elements of HTML include tags, attributes, and elements. It then describes the basic structure of an HTML document and some common tags used in the <head> and <body> sections, such as <title>, <style>, and <link>. Finally, it mentions that HTML files can be created and edited in any basic text editor.
The document discusses HTML and XHTML. It defines HTML as the language used to describe web page structure and provides tags for common elements like headings, paragraphs, lists, links, images and tables. It also explains the differences between static and dynamic websites. The document then discusses XHTML, noting it is a stricter version of HTML that conforms to XML. It provides examples of XHTML code and highlights why following XHTML standards is important.
Web development is the process of building and maintaining websites. It involves coding languages like HTML, CSS, JavaScript, Python, and C/C++. HTTP is the protocol for communication between web clients and servers. When a client like a browser makes an HTTP request, the server processes it and returns an HTTP response. Common elements of web pages include headings, paragraphs, links, images, forms, tables and lists.
The document provides an introduction and overview for an INFO 2106 Website Design and Management course. It outlines the agenda, including an introduction to the professor and Blackboard, as well as information on grading, academic dishonesty, and how to succeed in the course. It then covers the basics of HTML, including common tags like <p>, <ul>, <li>, and <a>. Examples are provided of how to create paragraphs, lists, links, and tables. It also discusses opening links in new windows, static vs dynamic websites, and important code snippets for building webpages.
Web development Training in Ambala ! Batra Computer Centrejatin batra
Batra Computer Centre is An ISO certified 9001:2008 training Centre in Ambala.
We Provide Best Web Development Training in Ambala. BATRA COMPUTER CENTRE provides best training in C, C++, S.E.O, Web Designing, Web Development and So many other courses are available.
This document provides an introduction and overview of HTML (Hypertext Markup Language). It discusses key concepts like the basic structure of an HTML document which includes elements like <DOCTYPE>, <html>, <head>, and <body>. It also covers common HTML elements and tags for text formatting, links, images, lists, tables, forms, audio, video, and iframes. The document concludes with sample questions to test HTML knowledge.
HTML defines the structure and layout of a web page. It uses elements like <h1> for headings and <p> for paragraphs to structure content. CSS can be used to style HTML elements by specifying properties for things like color, font, size, and layout. JavaScript can dynamically update HTML content and attributes, adding interactivity to web pages. It is one of the core languages all web developers must learn along with HTML and CSS.
HTML defines the structure and layout of a web page. It uses elements like <h1> for headings and <p> for paragraphs to structure content. CSS can be used to style HTML elements by specifying properties for things like color, font, size, and layout. JavaScript can dynamically update HTML content and attributes, adding interactivity to web pages. It is one of the core languages all web developers must learn along with HTML and CSS.
The document provides an overview of full stack web development, including front-end technologies like HTML, CSS, JavaScript and back-end technologies like PHP, Java, and Python. It discusses how websites are structured and hosted, how web pages are built using HTML, and how text editors can be used to write HTML code. It also covers common web development terms like protocols, URLs, and how CSS is used to style web pages.
HTML is a markup language used to define the structure and layout of web pages. HTML uses tags to mark elements like headings, paragraphs, links, images, and tables. Some key tags include:
<h1> for main headings, <p> for paragraphs, <a> for links, <img> for images, and <table> for tables. Elements are everything between a starting and ending tag. HTML documents contain tags and plain text and are displayed in web browsers.
Web pages are hypertext documents connected to the World Wide Web. They are displayed using web browsers, which are programs that retrieve and display HTML files. Web servers are computers that deliver web pages to users, and have IP addresses and domain names. There are two main types of websites: static and dynamic. The basic structure of an HTML web page includes tags such as <!DOCTYPE>, <html>, <head>, <title>, and <body>. Cascading Style Sheets (CSS) is a language used to describe the presentation and formatting of web pages, and can be inserted via external style sheets, internal style sheets, or inline styles.
The document provides information on HTML (Hypertext Markup Language) including what the World Wide Web and hypertext are, the basic structure and elements of an HTML document, common HTML tags for formatting text like headings, paragraphs, line breaks, and bold/italic text, and how to add comments in HTML.
This document provides an introduction to HTML, covering the basic building blocks and structure. It discusses that HTML stands for Hypertext Markup Language and allows users to organize and link text on the internet. The key elements of HTML include tags, attributes, and elements. It then describes the basic structure of an HTML document and some common tags used in the <head> and <body> sections, such as <title>, <style>, and <link>. Finally, it mentions that HTML files can be created and edited in any basic text editor.
The document discusses HTML and XHTML. It defines HTML as the language used to describe web page structure and provides tags for common elements like headings, paragraphs, lists, links, images and tables. It also explains the differences between static and dynamic websites. The document then discusses XHTML, noting it is a stricter version of HTML that conforms to XML. It provides examples of XHTML code and highlights why following XHTML standards is important.
Web development is the process of building and maintaining websites. It involves coding languages like HTML, CSS, JavaScript, Python, and C/C++. HTTP is the protocol for communication between web clients and servers. When a client like a browser makes an HTTP request, the server processes it and returns an HTTP response. Common elements of web pages include headings, paragraphs, links, images, forms, tables and lists.
The document provides an introduction and overview for an INFO 2106 Website Design and Management course. It outlines the agenda, including an introduction to the professor and Blackboard, as well as information on grading, academic dishonesty, and how to succeed in the course. It then covers the basics of HTML, including common tags like <p>, <ul>, <li>, and <a>. Examples are provided of how to create paragraphs, lists, links, and tables. It also discusses opening links in new windows, static vs dynamic websites, and important code snippets for building webpages.
Web development Training in Ambala ! Batra Computer Centrejatin batra
Batra Computer Centre is An ISO certified 9001:2008 training Centre in Ambala.
We Provide Best Web Development Training in Ambala. BATRA COMPUTER CENTRE provides best training in C, C++, S.E.O, Web Designing, Web Development and So many other courses are available.
This document provides an introduction and overview of HTML (Hypertext Markup Language). It discusses key concepts like the basic structure of an HTML document which includes elements like <DOCTYPE>, <html>, <head>, and <body>. It also covers common HTML elements and tags for text formatting, links, images, lists, tables, forms, audio, video, and iframes. The document concludes with sample questions to test HTML knowledge.
HTML defines the structure and layout of a web page. It uses elements like <h1> for headings and <p> for paragraphs to structure content. CSS can be used to style HTML elements by specifying properties for things like color, font, size, and layout. JavaScript can dynamically update HTML content and attributes, adding interactivity to web pages. It is one of the core languages all web developers must learn along with HTML and CSS.
HTML defines the structure and layout of a web page. It uses elements like <h1> for headings and <p> for paragraphs to structure content. CSS can be used to style HTML elements by specifying properties for things like color, font, size, and layout. JavaScript can dynamically update HTML content and attributes, adding interactivity to web pages. It is one of the core languages all web developers must learn along with HTML and CSS.
This presentation highlights project development using software development life cycle (SDLC) with a major focus on incorporating research in the design phase to develop innovative solution. Some case-studies are also highlighted which makes the reader to understand the different phases with practical examples.
The development of smart cities holds immense significance in shaping a nation's urban fabric and effectively addressing urban challenges that profoundly impact the economy. Among these challenges, road accidents pose a significant obstacle to urban progress, affecting lives, supply chain efficiency, and socioeconomic well-being. To address this issue effectively, accurate forecasting of road accidents is crucial for policy formulation and enhancing safety measures. Time series forecasting of road accidents provides invaluable insights for devising strategies, enabling swift actions in the short term to reduce accident rates, and informing well-informed road design and safety management policies for the long term, including the implementation of flyovers, and the enhancement of road quality to withstand all weather conditions. Deep Learning's exceptional pattern recognition capabilities have made it a favored approach for accident forecasting. The study comprehensively evaluates deep learning models, such as RNN, LSTM, CNN+LSTM, GRU, Transformer, and MLP, using a ten-year dataset from the esteemed Smart Road Accident Database in Hubballi-Dharwad. The findings unequivocally underscore LSTM's superiority, exhibiting lower errors in both yearly (RMSE: 0.291, MAE: 0.271, MAPE: 6.674%) and monthly (RMSE: 0.186, MAE: 0.176, MAPE: 5.850%) variations. Based on these compelling findings, the study provides strategic recommendations to urban development authorities, emphasizing comprehensive policy frameworks encompassing short-term and long-term measures to reduce accident rates alongside meticulous safety measures and infrastructure planning. By leveraging insights from deep learning models, urban development authorities can adeptly shape the urban landscape, fostering safer environments and contributing to global safety and prosperity.
En esta presentación se encuentra la explicación sobre la tomografía Axial Computarizada, se habla sobre su historia, partes, operación general y especifica del equipo, tipos de densidades y sus aplicaciones más comunes y las innovadoras.
A SEW-EURODRIVE brake repair kit is needed for maintenance and repair of specific SEW-EURODRIVE brake models, like the BE series. It includes all necessary parts for preventative maintenance and repairs. This ensures proper brake functionality and extends the lifespan of the brake system
Call For Papers - International Journal on Natural Language Computing (IJNLC)kevig
Natural Language Processing is a programmed approach to analyze text that is based on both a
set of theories and a set of technologies. This forum aims to bring together researchers who have
designed and build software that will analyze, understand, and generate languages that humans use
naturally to address computers.
May 2025: Top 10 Read Articles Advanced Information Technologyijait
International journal of advanced Information technology (IJAIT) is a bi monthly open access peer-reviewed journal, will act as a major forum for the presentation of innovative ideas, approaches, developments, and research projects in the area advanced information technology applications and services. It will also serve to facilitate the exchange of information between researchers and industry professionals to discuss the latest issues and advancement in the area of advanced IT. Core areas of advanced IT and multi-disciplinary and its applications will be covered during the conferences.
PREDICTION OF ROOM TEMPERATURE SIDEEFFECT DUE TOFAST DEMAND RESPONSEFOR BUILD...ijccmsjournal
In order to evaluate side-effect of power limitation due to the Fast Automated Demand Response
(FastADR) for building air-conditioning facilities, a prediction model on short time change of average
room temperature has been developed. A room temperature indexis defined as a weighted average of the
entire building for room temperature deviations from the setpoints. The index is assumed to be used to
divide total FastADRrequest to distribute power limitation commands to each building.In order to predict
five-minute-change of the index, our combined mathematical model of an auto regression (AR) and a
neural network (NN) is proposed.In the experimental results, the combined model showedthe root mean
square error (RMSE) of 0.23 degrees, in comparison with 0.37 and 0.26 for conventional single NN and AR
models, respectively. This result is satisfactory prediction for required comfort of approximately 1 degree
Celsius allowance.
Rigor, ethics, wellbeing and resilience in the ICT doctoral journeyYannis
The doctoral thesis trajectory has been often characterized as a “long and windy road” or a journey to “Ithaka”, suggesting the promises and challenges of this journey of initiation to research. The doctoral candidates need to complete such journey (i) preserving and even enhancing their wellbeing, (ii) overcoming the many challenges through resilience, while keeping (iii) high standards of ethics and (iv) scientific rigor. This talk will provide a personal account of lessons learnt and recommendations from a senior researcher over his 30+ years of doctoral supervision and care for doctoral students. Specific attention will be paid on the special features of the (i) interdisciplinary doctoral research that involves Information and Communications Technologies (ICT) and other scientific traditions, and (ii) the challenges faced in the complex technological and research landscape dominated by Artificial Intelligence.
May 2025: Top 10 Cited Articles in Software Engineering & Applications Intern...sebastianku31
The International Journal of Software Engineering & Applications (IJSEA) is a bi-monthly open access peer-reviewed journal that publishes articles which contribute new results in all areas of the Software Engineering & Applications. The goal of this journal is to bring together researchers and practitioners from academia and industry to focus on understanding Modern software engineering concepts & establishing new collaborations in these areas.
First Review PPT gfinal gyft ftu liu yrfut goSowndarya6
CyberShieldX provides end-to-end security solutions, including vulnerability assessment, penetration testing, and real-time threat detection for business websites. It ensures that organizations can identify and mitigate security risks before exploitation.
Unlike traditional security tools, CyberShieldX integrates AI models to automate vulnerability detection, minimize false positives, and enhance threat intelligence. This reduces manual effort and improves security accuracy.
Many small and medium businesses lack dedicated cybersecurity teams. CyberShieldX provides an easy-to-use platform with AI-powered insights to assist non-experts in securing their websites.
Traditional enterprise security solutions are often expensive. CyberShieldX, as a SaaS platform, offers cost-effective security solutions with flexible pricing for businesses of all sizes.
Businesses must comply with security regulations, and failure to do so can result in fines or data breaches. CyberShieldX helps organizations meet compliance requirements efficiently.
2. Fundamentals of Web Design
• Web design refers to the design of websites
that are displayed on the internet.
• It usually refers to the user experience aspects
of website development rather than software
development.
3. Web Page & Web Site
Webpage Website
Webpage consists of content
regarding a single entity type
Website constitutes content
regarding several entities
A direct URL link or a website can
be used to access it
A domain address is used to access
it
A combination of webpages is
created using HTML and CSS
Information is in HTML language
An individual hypertext document
linked under a website
A collection of multiple pages
hosted on the server
Stores the contents or resources
that are to be displayed on a
website
Is a place used to display the
content
4. Webpage Website
Comparatively, less complex More complex to develop
Less time to develop Takes more time to develop
The web page address of any
specific website is directly
dependent on the website address
(domain). Webpage will not work
if the domain is down
Website address (domain) is
independent of webpage address.
If the webpage is deleted for any
reason, the website will still
continue to work. All other linked
webpages will also work as usual
Examples: Contact page,
Registration Page, Service Page,
About Us page and so on
Examples: Flipkart.com,
Nykaa.com, Amazon.com and
more
5. Web Application
• A Web application (Web app) is an application
program that is stored on a remote server
and delivered over the Internet through a
browser interface.
• Web services are Web apps by definition and
many, although not all, websites contain Web
apps.
7. Web Application Website
Web application is designed
for interaction with end users.
Website basically contains
static content.
The user of web application
can read the content of web
application and also
manipulate the data.
The user of website only can
read the content of website
but not manipulate .
The web application site
should be precompiled before
deployment.
The website does not need to
be precompiled .
The function of a web
application is quite complex.
The function of website is
simple.
8. Web Application Web Site
Web application is interactive
for users.
Web site is not interactive for
users.
The browser capabilities
involved with a web application
is high.
The browser capabilities
involved with web site is high.
Integration is complex for web
application because of its
complex functionality.
Integration is simpler for web
site.
Web application mostly requires
authentication
In web site authentication is not
necessary.
EXAMPLE :- Amazon, Facebook,
etc.
EXAMPLE :- Breaking News,
Aktu website, etc.
9. Client-Server Architecture
• A client server application uses a two-tier
architecture whereas a web application uses
multi-tier architecture which consists of; user
client, middle tier, and application server.
• A web application uses a single-user system
unlike a client server application which uses
two users: client and server.
11. HTML
• HTML stands for Hyper Text Markup Language
• HTML is the standard markup language for
creating Web pages
• HTML describes the structure of a Web page
• HTML consists of a series of elements
• HTML elements tell the browser how to display
the content
• HTML elements label pieces of content such as
"this is a heading", "this is a paragraph", "this is a
link", etc.
13. • The <!DOCTYPE html> declaration defines that this document
is an HTML5 document
• The <html> element is the root element of an HTML page
• The <head> element contains meta information about the
HTML page
• The <title> element specifies a title for the HTML page (which
is shown in the browser's title bar or in the page's tab)
• The <body> element defines the document's body, and is a
container for all the visible contents, such as headings,
paragraphs, images, hyperlinks, tables, lists, etc.
• The <h1> element defines a large heading
• The <p> element defines a paragraph
14. What is an HTML Element?
• An HTML element is defined by a start tag, some
content, and an end tag:
• <tagname> Content goes here... </tagname>
• The HTML element is everything from the start
tag to the end tag:
• <h1>My First Heading</h1>
• <p>My first paragraph.</p>
15. HTML Documents
• All HTML documents must start with a document type
declaration: <!DOCTYPE html>.
• The HTML document itself begins with <html> and ends
with </html>.
• The visible part of the HTML document is
between <body> and </body>.
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
16. HTML Attributes
• All HTML elements can have attributes
• Attributes provide additional information about
elements
• Attributes are always specified in the start tag
• Attributes usually come in name/value pairs
like: name="value"
The href Attribute
• The <a> tag defines a hyperlink.
The href attribute specifies the URL of the page
the link goes to:
17. <!DOCTYPE html>
<html>
<body>
<h2>The href Attribute</h2>
<p>HTML links are defined with the a tag. The link address is specified
in the href attribute:</p>
<a href="https://www.beejaacademy.com">Visit Beeja Academy</a>
</body>
</html>
18. The src Attribute
• The <img> tag is used to embed an image in an HTML page.
• The src attribute specifies the path to the image to be displayed
<!DOCTYPE html>
<html>
<body>
<h2>The src Attribute</h2>
<p>HTML images are defined with the img tag, and the filename
of the image source is specified in the src attribute:</p>
<img src="img_girl.jpg" width="500" height="600">
</body>
</html>
19. The width and height Attributes
• The <img> tag should also contain the width and height attributes,
which specifies the width and height of the image (in pixels)
<!DOCTYPE html>
<html>
<body>
<h2>Width and Height Attributes</h2>
<p>The width and height attributes of the img tag, defines the width
and height of the image:</p>
<img src="img_girl.jpg" width="500" height="600">
</body>
</html>
20. The alt Attribute
• The required alt attribute for the <img> tag
specifies an alternate text for an image, if the
image for some reason cannot be displayed.
• This can be due to slow connection, or an error in
the src attribute, or if the user uses a screen
reader.
21. <!DOCTYPE html>
<html>
<body>
<h2>The alt Attribute</h2>
<p>The alt attribute should reflect the image content, so users who
cannot see the image gets an understanding of what the image
contains:</p>
<img src="img_girl.jpg" alt="Girl with a jacket" width="500"
height="600">
</body>
</html>
22. The style Attribute
• The style attribute is used to add styles to an element, such as color,
font, size, and more.
<!DOCTYPE html>
<html>
<body>
<h2>The style Attribute</h2>
<p>The style attribute is used to add styles to an element, such as
color:</p>
<p style="color:red;">This is a red paragraph.</p>
</body>
</html>
23. The lang Attribute
• You should always include the lang attribute
inside the <html> tag, to declare the language of
the Web page. This is meant to assist search
engines and browsers.
<!DOCTYPE html>
<html lang="en">
<body>
...
</body>
</html>
24. The title Attribute
• The title attribute defines some extra information about an element.
• The value of the title attribute will be displayed as a tooltip when you
mouse over the element
<!DOCTYPE html>
<html>
<body>
<h2 title="I'm a header">The title Attribute</h2>
<p title="I'm a tooltip">Mouse over this paragraph, to display the title
attribute as a tooltip.</p>
</body>
</html>
25. HTML Styles
• Use the style attribute for styling HTML elements
• Use background-color for background color
• Use color for text colors
• Use font-family for text fonts
• Use font-size for text sizes
• Use text-align for text alignment
26. HTML Text Formatting
• <b> - Bold text
• <strong> - Important text
• <i> - Italic text
• <em> - Emphasized text
• <mark> - Marked text
• <small> - Smaller text
• <del> - Deleted text
• <ins> - Inserted text
• <sub> - Subscript text
• <sup> - Superscript text
27. HTML Colors
• HTML colors are specified with predefined color
names, or with RGB, HEX, HSL, RGBA, or HSLA
values.
• <h1 style="background-color:DodgerBlue;">Hello
World</h1>
• <h1 style="color:Tomato;">Hello World</h1>
• <h1 style="border:2px solid Tomato;">Hello
World</h1>
28. HTML RGB Colors
• An RGB color value represents RED, GREEN, and
BLUE light sources.
• An RGBA color value is an extension of RGB with
an Alpha channel (opacity).
• rgb(red, green, blue)
• Each parameter (red, green, and blue) defines
the intensity of the color with a value between 0
and 255.
• This means that there are 256 x 256 x 256 =
16777216 possible colors!
29. RGBA Color Values
• RGBA color values are an extension of RGB color
values with an Alpha channel - which specifies
the opacity for a color.
• An RGBA color value is specified with:
• rgba(red, green, blue, alpha)
• The alpha parameter is a number between 0.0
(fully transparent) and 1.0 (not transparent at all)
30. HEX Color Values
• #rrggbb
• Where rr (red), gg (green) and bb (blue) are hexadecimal
values between 00 and ff (same as decimal 0-255).
• For example, #ff0000 is displayed as red, because red is
set to its highest value (ff), and the other two (green and
blue) are set to 00.
• Another example, #00ff00 is displayed as green, because
green is set to its highest value (ff), and the other two
(red and blue) are set to 00.
• To display black, set all color parameters to 00, like this:
#000000.
• To display white, set all color parameters to ff, like this:
#ffffff.
31. HSL Color Values
• hsl(hue, saturation, lightness)
• Hue is a degree on the color wheel from 0 to 360. 0 is
red, 120 is green, and 240 is blue.
• Saturation is a percentage value, 0% means a shade of
gray, and 100% is the full color.
• Lightness is also a percentage value, 0% is black, and
100% is white.
• Saturation
• Saturation can be described as the intensity of a color.
• 100% is pure color, no shades of gray
• 50% is 50% gray, but you can still see the color.
• 0% is completely gray, you can no longer see the color.
32. HTML Styles - CSS
• CSS stands for Cascading Style Sheets.
• CSS saves a lot of work. It can control the layout
of multiple web pages all at once.
• CSS can be added to HTML documents in 3 ways:
• Inline - by using the style attribute inside HTML
elements
• Internal - by using a <style> element in
the <head> section
• External - by using a <link> element to link to an
external CSS file
33. Inline CSS
• An inline CSS is used to apply a unique style to a single HTML
element.
• An inline CSS uses the style attribute of an HTML element.
<!DOCTYPE html>
<html>
<body>
<h1 style="color:blue;">A Blue Heading</h1>
<p style="color:red;">A red paragraph.</p>
</body>
</html>
34. Internal CSS
• An internal CSS is used to define a style for a single HTML page.
• An internal CSS is defined in the <head> section of an HTML page, within a <style> element.
<!DOCTYPE html>
<html>
<head>
<style>
body {background-color: powderblue;}
h1 {color: blue;}
p {color: red;}
</style>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
35. External CSS
• An external style sheet is used to define the style for many HTML pages.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
"styles.css":
body {
background-
color: powderblue;
}
h1 {
color: blue;
}
p {
color: red;
}
39. HTML Favicon
• A favicon is a small image displayed next to the page title in the browser
tab.
<!DOCTYPE html>
<html>
<head>
<title>My Page Title</title>
<link rel="icon" type="image/x-icon" href=“Image location or Link">
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
41. Table Borders
• When you add a border to a table, you also add
borders around each table cell:
• To add a border, use the CSS border property
on table, th, and td elements:
• Example
table, th, td {
border: 1px solid black;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
48. HTML Lists
• HTML lists allow web developers to group a set
of related items in lists.
Unordered HTML List
• An unordered list starts with the <ul> tag. Each
list item starts with the <li> tag.
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
49. Ordered HTML List
• An ordered list starts with the <ol> tag. Each list
item starts with the <li> tag.
• The list items will be marked with numbers by
default
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
50. HTML Description Lists
• HTML also supports description lists.
• A description list is a list of terms, with a description of each
term.
• The <dl> tag defines the description list, the <dt> tag defines
the term (name), and the <dd> tag describes each term
<dl>
<dt>Coffee</dt>
<dd>- black hot drink</dd>
<dt>Milk</dt>
<dd>- white cold drink</dd>
</dl>
51. Value Description
disc Sets the list item marker to a bullet
(default)
circle Sets the list item marker to a circle
square Sets the list item marker to a square
none The list items will not be marked
53. Type Description
type="1" The list items will be numbered with numbers
(default)
type="A" The list items will be numbered with uppercase
letters
type="a" The list items will be numbered with lowercase
letters
type="I" The list items will be numbered with uppercase
roman numbers
type="i" The list items will be numbered with lowercase
roman numbers
55. HTML class Attribute
• The HTML class attribute is used to specify a class for an HTML element.
• Multiple HTML elements can share the same class.
<!DOCTYPE html>
<html>
<head>
<style>
.note {
font-size: 120%;
color: red;
}
</style>
</head>
<body>
<h1>My <span class="note">Important</span> Heading</h1>
<p>This is some <span class="note">important</span> text.</p>
</body>
</html>
57. HTML Iframes
• An HTML iframe is used to display a web page
within a web page.
• The HTML <iframe> tag specifies an inline
frame.
• An inline frame is used to embed another
document within the current HTML document.
• Syntax
<iframe src="url" title="description"></iframe>
58. HTML JavaScript
• JavaScript makes HTML pages more dynamic and
interactive.
• The HTML <script> tag is used to define a client-side script
(JavaScript).
• The <script> element either contains script statements, or
it points to an external script file through the src attribute.
• Common uses for JavaScript are image manipulation,
form validation, and dynamic changes of content.
• To select an HTML element, JavaScript most often uses
the document.getElementById() method.
• This JavaScript example writes "Hello JavaScript!" into an
HTML element with id="demo"
59. <!DOCTYPE html>
<html>
<body>
<h1>My First JavaScript</h1>
<p>JavaScript can change the content of an HTML element:</p>
<button type="button" onclick="myFunction()">Click Me!</button>
<p id="demo">This is a demonstration.</p>
<script>
function myFunction() {
document.getElementById("demo").innerHTML = "Hello JavaScript!";
}
</script>
</body>
</html>
60. HTML Responsive Web Design
• Responsive web design is about creating web
pages that look good on all devices!
• A responsive web design will automatically
adjust for different screen sizes and viewports.
• Responsive Web Design is about using HTML
and CSS to automatically resize, hide, shrink,
or enlarge, a website, to make it look good on
all devices (desktops, tablets, and phones)
61. <!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h2>Responsive Image</h2>
<p>When the CSS width property is set in a percentage value, the image will
scale up and down when resizing the browser window. Resize the browser
window to see the effect.</p>
<img src="image.jpg" style="width:100%;">
</body>
</html>
62. Emojis in HTML
• Emojis are characters from the UTF-8
character set: 💗
😄 😍
• Emojis look like images, or icons, but they are
not.
• They are letters (characters) from the UTF-8
(Unicode) character set.
• UTF-8 covers almost all of the characters and
symbols in the world.
• <meta charset="UTF-8">
64. HTML Forms
• An HTML form is used to collect user input. The user input is most often sent to
a server for processing.
<!DOCTYPE html>
<html>
<body>
<h2>HTML Forms</h2>
<form action="/action_page.php">
<label for="fname">First name:</label><br>
<input type="text" id="fname" name="fname" value="John"><br>
<label for="lname">Last name:</label><br>
<input type="text" id="lname" name="lname" value="Doe"><br><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
65. Type Description
<input type="text"> Displays a single-line text input
field
<input type="radio"> Displays a radio button (for
selecting one of many choices)
<input type="checkbox"> Displays a checkbox (for selecting
zero or more of many choices)
<input type="submit"> Displays a submit button (for
submitting the form)
<input type="button"> Displays a clickable button
66. Form Attributes
The Action Attribute
• The action attribute defines the action to be
performed when the form is submitted.
• Usually, the form data is sent to a file on the
server when the user clicks on the submit
button.
• In the example below, the form data is sent to
a file called "action_page.php".
• This file contains a server-side script that
handles the form data
68. The Target Attribute
• The target attribute specifies where to display the
response that is received after submitting the form.
• The target attribute can have one of the following
values
Value Description
_blank The response is displayed in a new window or tab
_self The response is displayed in the current window
_parent The response is displayed in the parent frame
_top The response is displayed in the full body of the window
framename The response is displayed in a named iframe
69. The Method Attribute
• The method attribute specifies the HTTP method
to be used when submitting the form data.
• The form-data can be sent as URL variables
(with method="get") or as HTTP post transaction
(with method="post").
• The default HTTP method when submitting form
data is GET.
• Example
<form action="/action_page.php" method="get">
70. The Autocomplete Attribute
• The autocomplete attribute specifies whether
a form should have autocomplete on or off.
• When autocomplete is on, the browser
automatically complete values based on
values that the user has entered before.
• Example
<form action="/
action_page.php" autocomplete="on">
71. The Novalidate Attribute
• The novalidate attribute is a boolean attribute.
• When present, it specifies that the form-data
(input) should not be validated when
submitted.
• Example
• A form with a novalidate attribute:
• <form action="/action_page.php" novalidate>
73. HTML Multimedia
• Multimedia on the web is sound, music, videos,
movies, and animations.
• To show a video in HTML, use
the <video> element:
• Example
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
74. HTML <video> Autoplay
• To start a video automatically, use
the autoplay attribute:
• Example
• <video width="320" height="240" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
</video>
75. HTML Audio
• The HTML <audio> element is used to play an audio file
on a web page.
• The HTML <audio> Element
• To play an audio file in HTML, use the <audio> element:
• Example
• <audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>