The document discusses the three main technologies used to build user interfaces: HTML for structure, CSS for presentation, and JavaScript for behavior. It emphasizes that each technology should only be used for its intended purpose to improve accessibility, portability, maintainability, and performance. HTML provides structure using tags, CSS handles styling and layout with rules, and JavaScript adds interactive behaviors. The document then goes into more detail about each technology and their various components.
This document provides an overview of HTML and CSS for website development. It discusses how websites use HTML for content, CSS for presentation, and JavaScript for behavior. It then covers basic HTML tags and structure, as well as CSS selectors, the box model, positioning, and floats. The goal is to teach the essentials of using HTML to structure content and CSS to style and position that content for websites.
HTML Basics document provides an overview of HTML elements and tags used to format text and structure web pages. It discusses the basic structure of an HTML document including the <head>, <title>, and <body> sections. Common text formatting tags like <p>, <h1>-<h6>, <strong>, <em>, and <br> are demonstrated. Other elements covered include images, lists, links, and basic styling with inline CSS. The document serves as an introduction to basic HTML syntax and structure.
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 more. When an HTML file is opened in a web browser, the browser displays the page using the tags to interpret the page's content and structure. Common HTML elements include headings, paragraphs, links, images, lists, tables, forms, and iframes. CSS can also be used to further define styles and visual presentation of HTML elements.
This document provides an overview of HTML and CSS topics including:
- A brief history of HTML and CSS standards from 1990 to present.
- Descriptions of common HTML elements like <body>, <head>, <img>, <a>, and lists.
- Explanations of CSS concepts like selectors, properties, units, positioning, and layout fundamentals.
- Details on CSS topics like the box model, centering content, semantic HTML, and flexbox.
The document serves as a course outline or reference for learning HTML and CSS fundamentals.
HTML is a markup language used to define the structure and layout of web pages. It uses tags like <h1> and <p> to mark headings and paragraphs. CSS is used to style and lay out HTML elements, using selectors, declarations, and properties to change things like colors and positioning. JavaScript can be added to HTML pages with <script> tags and is used to add interactive elements and dynamic behavior by manipulating HTML and responding to user input. It has data types like strings and numbers and control structures like if/else statements.
Hypertext Markup Language (HTML) is a markup language that is used to structure and present content on the World Wide Web. It was created by Tim Berners-Lee in 1980. The document defines various HTML tags such as headings, paragraphs, bold, italics, lists, images, and links. It provides examples of how to use each tag, including the opening and closing syntax. Common tags discussed include <h1> for main headings, <p> for paragraphs, <b> for bold text, <i> for italics, <ol> for ordered lists, <ul> for unordered lists, and <a> for creating links between pages.
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...Simplilearn
油
This presentation about Apache Spark covers all the basics that a beginner needs to know to get started with Spark. It covers the history of Apache Spark, what is Spark, the difference between Hadoop and Spark. You will learn the different components in Spark, and how Spark works with the help of architecture. You will understand the different cluster managers on which Spark can run. Finally, you will see the various applications of Spark and a use case on Conviva. Now, let's get started with what is Apache Spark.
Below topics are explained in this Spark presentation:
1. History of Spark
2. What is Spark
3. Hadoop vs Spark
4. Components of Apache Spark
5. Spark architecture
6. Applications of Spark
7. Spark usecase
What is this Big Data Hadoop training course about?
The Big Data Hadoop and Spark developer course have been designed to impart an in-depth knowledge of Big Data processing using Hadoop and Spark. The course is packed with real-life projects and case studies to be executed in the CloudLab.
What are the course objectives?
Simplilearns Apache Spark and Scala certification training are designed to:
1. Advance your expertise in the Big Data Hadoop Ecosystem
2. Help you master essential Apache and Spark skills, such as Spark Streaming, Spark SQL, machine learning programming, GraphX programming and Shell Scripting Spark
3. Help you land a Hadoop developer job requiring Apache Spark expertise by giving you a real-life industry project coupled with 30 demos
What skills will you learn?
By completing this Apache Spark and Scala course you will be able to:
1. Understand the limitations of MapReduce and the role of Spark in overcoming these limitations
2. Understand the fundamentals of the Scala programming language and its features
3. Explain and master the process of installing Spark as a standalone cluster
4. Develop expertise in using Resilient Distributed Datasets (RDD) for creating applications in Spark
5. Master Structured Query Language (SQL) using SparkSQL
6. Gain a thorough understanding of Spark streaming features
7. Master and describe the features of Spark ML programming and GraphX programming
Who should take this Scala course?
1. Professionals aspiring for a career in the field of real-time big data analytics
2. Analytics professionals
3. Research professionals
4. IT developers and testers
5. Data scientists
6. BI and reporting professionals
7. Students who wish to gain a thorough understanding of Apache Spark
Learn more at https://www.simplilearn.com/big-data-and-analytics/apache-spark-scala-certification-training
The document discusses the three layers of web design: structure with HTML, style with CSS, and behavior with JavaScript. It provides examples of how each layer contributes to building a web page, with HTML providing structure and markup, CSS controlling presentation and styling, and JavaScript adding interactivity and dynamic behavior. The document also seeks to clarify that JavaScript is not the same as Java, as their names often cause confusion, and outlines some common uses of JavaScript like form validation, auto-suggest search functionality, and slideshow creation.
HTML structures web documents and defines the semantics, or meaning, of content. CSS handles presentation and styling. HTML uses tags to define headings, paragraphs, lists, links and other content. CSS allows styling of elements using selectors, properties and values. External CSS files allow separation of concerns and reuse of styles across pages.
HTML is a markup language used to describe and structure web pages. It uses tags to define headings, paragraphs, links, images, and other content. An HTML file contains a head and body section. The head contains meta information about the page like the title. The body contains the visible page content. Common tags include headings, paragraphs, links, images, and divs to group content. Attributes provide extra information about elements.
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
HTML is the backbone of Internet. Learn the basics of HTML, you can create your own website.
If you have any doubt contact me for more details. WhatsApp:8008877940
HTML is a markup language used to define the structure and layout of web pages. HTML uses tags to annotate text, images, and other content for display in a web browser. Some key HTML tags include <h1> for main headings, <p> for paragraphs, <a> for links, <img> for images, <ul> and <ol> for unordered and ordered lists. CSS can be used to style and lay out HTML elements.
This document provides an overview of various CSS topics including comments, colors, text formatting, positioning, and cross-browser compatibility. It explains concepts like using hexadecimal color codes, text properties like alignment and decoration, positioning elements with static, relative, absolute and fixed positioning, and strategies for aligning elements and dealing with browser inconsistencies.
The document provides an agenda for a workshop on HTML, CSS, and putting them together. It covers HTML topics like semantic tags, comments, and best practices. It then discusses CSS topics such as IDs vs classes, floats, shorthand, and putting HTML and CSS together with project structure and layouts. The workshop aims to give an introduction to HTML, CSS, and how to structure websites using these languages.
Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation of HTML and XML documents. CSS separates document content from document presentation, enabling control over elements like layout, colors, and fonts. This separation improves accessibility, flexibility, and maintenance of web pages. CSS can format pages for different rendering methods like on-screen, in print, and for speech-based browsers.
CSS油stands for油Cascading油Style油Sheets
Styles define油how to display油HTML elements
External Style Sheets油can save a lot of work
Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
HTML is a markup language used to define the structure and layout of web pages. HTML documents contain HTML elements that define different parts of the page like headings, paragraphs, lists, links, and more. Key HTML elements include <html> <head> <body> <h1>-<h6> for headings, <p> for paragraphs, <ul> and <ol> for unordered and ordered lists, <a> for links, <img> for images, <table> for tables, and <form> for forms. HTML documents are text files that use tags enclosed in < > to define elements and attributes provide additional information about elements.
html & css powerpoint slide show for presentation. Here, basic concept of css using with html. a webpage decorated by css.
HTML- Hyper text markup language.
CSS- Cascading Style sheet.
The document provides an overview of basic CSS (Cascading Style Sheets) concepts including what CSS is, why it is used, CSS syntax, selectors like element, class, ID and pseudo selectors, and common CSS properties for styling elements like color, background, fonts, text, lists, and borders. CSS is used to control the presentation and layout of HTML documents and is linked to HTML pages through <link> or <style> tags in the <head> section.
The document covers various topics related to CSS including CSS introduction, syntax, selectors, inclusion methods, setting backgrounds, fonts, manipulating text, and working with images. Key points include how CSS handles web page styling, the advantages of CSS, CSS versions, associating styles using embedded, inline, external and imported CSS, and properties for backgrounds, fonts, text formatting, and images.
The document discusses HTML and CSS. HTML is the markup language used to create webpages, while CSS describes how HTML elements are displayed. It provides definitions of HTML 5 and CSS 3, the current major versions. Free courses for learning HTML and CSS are listed from YouTube, Khan Academy, and W3Schools. Paid course options are also listed from Coursera, Udemy, and Pluralsight. Experts in HTML and CSS mentioned include Tim Berners-Lee and Bucky Roberts. Contact information is provided at the end.
This document provides an introduction to HTML and CSS. It discusses what HTML and CSS are used for, with HTML defining the content or structure of a document and CSS controlling the style. It outlines some of the most important HTML elements like <div>, <span>, <p>, and <h1-h6> and how they are used. It also introduces new HTML5 elements like <header>, <nav>, <section>, <article>, and <aside>. The document then discusses CSS selectors for targeting elements, properties for changing elements, and values. It notes that browsers have default styling and custom properties. Finally, it encourages keeping CSS simple and mentions available frameworks.
The document provides an overview of HTML and CSS, covering topics such as the structure of an HTML document, HTML tags, CSS, and how to create a basic webpage. It discusses what HTML and CSS are, why they are needed, popular HTML tags, and gives examples of adding CSS to an HTML document. It also provides a hands-on tutorial showing how to build a simple website covering HTML basics and using CSS for styling.
this presentation covers the following topics which are as follows
1. Introduction of css
2. History of css
3. Types of css styling
4. Css syntax
5. Css Selector
6. Css Variations Or Css Versions
This document provides an introduction to HTML, CSS, and JavaScript. It defines HTML as the standard markup language for creating web pages using tags to describe structure. CSS is described as using cascading style sheets to describe how HTML elements are displayed, and can be applied internally, inline, or via external stylesheets. JavaScript is defined as an interpreted scripting language that can display data in alerts, by writing to the HTML output or browser console, or modifying HTML elements.
The document discusses various aspects of HTML5 including its history, new elements, offline storage capabilities, and responsive web design. It provides information on HTML, CSS, JavaScript and how they make up the three layers of web design. It also summarizes the roles of different standards organizations and differences between HTML5 and the HTML living standard.
Feel free to share to every aspiring ICT SHS teacher that is starting out. Just please do not take the copyright credit. The content is taken from Rex and Abiva Empowerment Technologies books.
This document provides an overview of HTML elements and tags for creating web pages. It discusses common HTML tags like headings, paragraphs, links, images, lists, forms, and tables. It also covers CSS for styling HTML elements and JavaScript for adding interactivity. The document is intended as a tutorial for learning basic HTML.
HTML structures web documents and defines the semantics, or meaning, of content. CSS handles presentation and styling. HTML uses tags to define headings, paragraphs, lists, links and other content. CSS allows styling of elements using selectors, properties and values. External CSS files allow separation of concerns and reuse of styles across pages.
HTML is a markup language used to describe and structure web pages. It uses tags to define headings, paragraphs, links, images, and other content. An HTML file contains a head and body section. The head contains meta information about the page like the title. The body contains the visible page content. Common tags include headings, paragraphs, links, images, and divs to group content. Attributes provide extra information about elements.
HTML5 Tutorial For Beginners - Learning HTML 5 in simple and easy steps with examples covering 2D Canvas, Audio, Video, New Semantic Elements, Geolocation, Persistent Local Storage, Web Storage, Forms Elements,Application Cache,Inline SVG,Document
HTML is the backbone of Internet. Learn the basics of HTML, you can create your own website.
If you have any doubt contact me for more details. WhatsApp:8008877940
HTML is a markup language used to define the structure and layout of web pages. HTML uses tags to annotate text, images, and other content for display in a web browser. Some key HTML tags include <h1> for main headings, <p> for paragraphs, <a> for links, <img> for images, <ul> and <ol> for unordered and ordered lists. CSS can be used to style and lay out HTML elements.
This document provides an overview of various CSS topics including comments, colors, text formatting, positioning, and cross-browser compatibility. It explains concepts like using hexadecimal color codes, text properties like alignment and decoration, positioning elements with static, relative, absolute and fixed positioning, and strategies for aligning elements and dealing with browser inconsistencies.
The document provides an agenda for a workshop on HTML, CSS, and putting them together. It covers HTML topics like semantic tags, comments, and best practices. It then discusses CSS topics such as IDs vs classes, floats, shorthand, and putting HTML and CSS together with project structure and layouts. The workshop aims to give an introduction to HTML, CSS, and how to structure websites using these languages.
Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation of HTML and XML documents. CSS separates document content from document presentation, enabling control over elements like layout, colors, and fonts. This separation improves accessibility, flexibility, and maintenance of web pages. CSS can format pages for different rendering methods like on-screen, in print, and for speech-based browsers.
CSS油stands for油Cascading油Style油Sheets
Styles define油how to display油HTML elements
External Style Sheets油can save a lot of work
Styles are normally saved in external .css files. External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file!
HTML is a markup language used to define the structure and layout of web pages. HTML documents contain HTML elements that define different parts of the page like headings, paragraphs, lists, links, and more. Key HTML elements include <html> <head> <body> <h1>-<h6> for headings, <p> for paragraphs, <ul> and <ol> for unordered and ordered lists, <a> for links, <img> for images, <table> for tables, and <form> for forms. HTML documents are text files that use tags enclosed in < > to define elements and attributes provide additional information about elements.
html & css powerpoint slide show for presentation. Here, basic concept of css using with html. a webpage decorated by css.
HTML- Hyper text markup language.
CSS- Cascading Style sheet.
The document provides an overview of basic CSS (Cascading Style Sheets) concepts including what CSS is, why it is used, CSS syntax, selectors like element, class, ID and pseudo selectors, and common CSS properties for styling elements like color, background, fonts, text, lists, and borders. CSS is used to control the presentation and layout of HTML documents and is linked to HTML pages through <link> or <style> tags in the <head> section.
The document covers various topics related to CSS including CSS introduction, syntax, selectors, inclusion methods, setting backgrounds, fonts, manipulating text, and working with images. Key points include how CSS handles web page styling, the advantages of CSS, CSS versions, associating styles using embedded, inline, external and imported CSS, and properties for backgrounds, fonts, text formatting, and images.
The document discusses HTML and CSS. HTML is the markup language used to create webpages, while CSS describes how HTML elements are displayed. It provides definitions of HTML 5 and CSS 3, the current major versions. Free courses for learning HTML and CSS are listed from YouTube, Khan Academy, and W3Schools. Paid course options are also listed from Coursera, Udemy, and Pluralsight. Experts in HTML and CSS mentioned include Tim Berners-Lee and Bucky Roberts. Contact information is provided at the end.
This document provides an introduction to HTML and CSS. It discusses what HTML and CSS are used for, with HTML defining the content or structure of a document and CSS controlling the style. It outlines some of the most important HTML elements like <div>, <span>, <p>, and <h1-h6> and how they are used. It also introduces new HTML5 elements like <header>, <nav>, <section>, <article>, and <aside>. The document then discusses CSS selectors for targeting elements, properties for changing elements, and values. It notes that browsers have default styling and custom properties. Finally, it encourages keeping CSS simple and mentions available frameworks.
The document provides an overview of HTML and CSS, covering topics such as the structure of an HTML document, HTML tags, CSS, and how to create a basic webpage. It discusses what HTML and CSS are, why they are needed, popular HTML tags, and gives examples of adding CSS to an HTML document. It also provides a hands-on tutorial showing how to build a simple website covering HTML basics and using CSS for styling.
this presentation covers the following topics which are as follows
1. Introduction of css
2. History of css
3. Types of css styling
4. Css syntax
5. Css Selector
6. Css Variations Or Css Versions
This document provides an introduction to HTML, CSS, and JavaScript. It defines HTML as the standard markup language for creating web pages using tags to describe structure. CSS is described as using cascading style sheets to describe how HTML elements are displayed, and can be applied internally, inline, or via external stylesheets. JavaScript is defined as an interpreted scripting language that can display data in alerts, by writing to the HTML output or browser console, or modifying HTML elements.
The document discusses various aspects of HTML5 including its history, new elements, offline storage capabilities, and responsive web design. It provides information on HTML, CSS, JavaScript and how they make up the three layers of web design. It also summarizes the roles of different standards organizations and differences between HTML5 and the HTML living standard.
Feel free to share to every aspiring ICT SHS teacher that is starting out. Just please do not take the copyright credit. The content is taken from Rex and Abiva Empowerment Technologies books.
This document provides an overview of HTML elements and tags for creating web pages. It discusses common HTML tags like headings, paragraphs, links, images, lists, forms, and tables. It also covers CSS for styling HTML elements and JavaScript for adding interactivity. The document is intended as a tutorial for learning basic HTML.
HTML is the most widely used language to write web pages. It is a markup language that uses tags to structure text and multimedia content. Some key HTML elements include <head>, <title>, <body>, <p>, <img>, <table>, and <div>. HTML allows embedding of images, hyperlinks, lists, tables, forms, iframes and other interactive elements to create dynamic and engaging web pages. While HTML provides structure and layout, additional technologies like CSS and JavaScript are needed for advanced formatting and interactivity.
The document provides an introduction to HTML and covers the basics of creating HTML pages including page structure, tags, attributes, formatting text, and comments. It explains key elements like <html>, <head>, <title>, <body>, headings, paragraphs, and lists. It also covers attributes, presentational tags, phrase tags, and the difference between block and inline elements. The document is intended as an introductory workshop on HTML for day one.
This document provides an introduction to HTML (Hypertext Markup Language) and how to create basic HTML pages. It discusses HTML tags like <html>, <head>, <title>, <body>, and <meta> that form the basic structure of an HTML page. It also describes how to use text editors like Notepad to write HTML code and save files with the .html or .htm extension. The document provides examples of creating headings, paragraphs, line breaks and horizontal rules. It covers core HTML attributes and formatting tags to style text.
Tim Berners-Lee invented HTML at CERN to help share scientific documents. HTML uses tags to structure text and multimedia on web pages. The basic structure of an HTML document includes header (<head>) and body (<body>) sections. The <head> contains metadata like the <title>. The <body> holds the visible page content, and elements like <p> define paragraphs. HTML tags like <b> make text bold, while <img> embeds images. More advanced tags have been added to later HTML versions to support richer content and functionality on web pages.
Markup provides information about document structure and presentation. It includes start and closing tags like <p> and </p>. HTML is a markup language used to build web pages and includes elements like <head> and <body>. It has a defined structure with tags nested properly. HTML documents are text files with a .html extension.
The document provides an overview of HTML and CSS, including:
- HTML gives content structure and meaning using elements like headings and paragraphs, while CSS is used to style the appearance of content.
- Common HTML terms are explained, like elements, tags, opening/closing tags, and attributes.
- The basic structure of an HTML document is outlined, including the <!DOCTYPE html>, <html>, <head>, and <body> elements.
- Self-closing elements are discussed, which use a single tag like <meta>.
The document summarizes Workshop #2 on web development hosted by Sohail Asghar and Saad Mustafa. It covers the basics of HTML, CSS, and JavaScript. For HTML, it discusses basic tags like headings, paragraphs, links, images and lists. For CSS, it explains concepts like selectors, colors, backgrounds, borders, fonts, padding, and margins. For JavaScript, it provides introductions to variables, output, data types, and more.
This document provides an overview of HTML elements and tags. It discusses the basic HTML page structure including <html>, <head>, and <body> tags. It also covers common text formatting tags, links, images, lists, and more. The document emphasizes that HTML provides semantic structure and meaning to content through appropriate tag usage. It concludes with a brief discussion of relative vs. absolute links and FTP for transferring files to a server.
HTML is a markup language used to define the structure and layout of web pages. It uses tags like <h1> for headings and <p> for paragraphs to structure content. Key HTML elements include:
<html> - defines an HTML document
<head> - contains meta information about the page
<body> - contains visible page content
<a> - defines hyperlinks
<img> - embeds images
<ul>, <ol>, <li> - define unordered, ordered and list item elements
<table> - defines a table with <tr> for rows and <td> for cells
This document provides an introduction to key web technologies including HTML, CSS, and JavaScript. It discusses HTML components like documents, tags, and pages which are made up of plain text files with tags to indicate how content should be displayed. It also covers CSS concepts like stylesheets that separate formatting from content. JavaScript is introduced as a scripting language that allows for user interactivity on webpages through components like objects, attributes, methods, and statements.
The document provides an overview of HTML (Hypertext Markup Language) including:
1) HTML is a markup language used to describe web pages using tags to structure content like headings, paragraphs, lists, links, images and tables.
2) Various HTML tags are described like <h1>-<h6> for headings, <p> for paragraphs, <b> for bold, <i> for italic, and <a> for links.
3) Additional HTML concepts covered include internal and external CSS, meta tags, images, tables, frames, iframes and cascading style sheets (CSS) for styling content.
Learn HTML and CSS in few steps . Practice an hour daily for good results in 10 days.
Here I am mentioning basic elements , attributes and tags of HTML with styling them
CNC Web World is great IT Training Institute in Nagpur. They provide 100% practical training one faculty for one student.
We offer C, C++, Java programming, Android programming, PHP Development, .Net Programming, Web Designing and all other IT related training courses. Web development is all about building great software products and CNC Web World is best in teaching how to build those products.
The document provides lecture notes on web programming. It covers common HTML tags like lists, tables, images, forms and frames. It discusses the structure of an HTML document and provides examples to demonstrate list tags, table tags, use of color and images, background images, frames and forms. The objectives are to understand basic HTML tags, lists, forms, frames and cascading style sheets. It provides detailed explanations and examples of various HTML tags to implement lists, tables, images, color, background images, frames and forms.
The document discusses the switch statement in C programming. It explains the syntax of switch statement and provides an example. It mentions that switch statement can also contain expressions and only constant expressions can be evaluated in cases. It lists some limitations of switch statement like float expressions cannot be tested and multiple cases cannot use same expression values. It also provides information on loop control structures like for, while, do-while loops along with examples.
This document summarizes the n-queen problem, which involves placing N queens on an N x N chessboard so that no queen can attack any other. It describes the problem's inputs and tasks, provides examples of solutions for different board sizes, and outlines the backtracking algorithm commonly used to solve this problem. The backtracking approach guarantees a solution but can be slow, with complexity rising exponentially with problem size. It is a good benchmark for testing parallel computing systems due to its iterative nature.
This document presents concepts for flexible and portable computing devices of the future, including:
1) A mobile phone with a 3D holographic display screen that can project objects in the air.
2) A rollable laptop that can fold up like a roll of paper for easy carrying and storage.
3) A wearable "finger-touching" phone concept that is controlled by touching your own fingers.
4) A flexible bracelet-style computer called SONY NEXTEP with a holographic projector and pull-out keyboard.
5) The Integral Cord, a flexible optic cord that can create multiple touchscreen displays of varying sizes by manipulating the cord
Harmful Effect Of Computers On Environment - EWASTE Sukrit Gupta
油
This Presentation gives an Overview of Harmful Effects Of Computers On Our Environment and surroundings. It also deals with the methods of curbing this Ewaste.
MySQL is a relational database management system written in C and C++. It works across many platforms and is designed to be fully multi-threaded to take advantage of multiple CPUs. It supports large databases with flexible security and has over a dozen data types including numeric, date/time, and string types. MySQL uses storage engines like MyISAM and InnoDB to store and retrieve data, with InnoDB being the default and most widely used as it supports transactions and row-level locking. MySQL also includes many built-in mathematical, aggregate, string, and date/time functions to manipulate data.
HTML and CSS are markup languages used to structure and style web pages. HTML is used to define the structure and semantics of content, while CSS handles the presentation and layout. Some key points covered include:
- HTML stands for Hypertext Markup Language and uses tags to structure content into headings, paragraphs, lists etc. CSS is used to specify rules that control the presentation and formatting of HTML elements.
- The box model is a fundamental concept in CSS that treats each HTML element as a box, including properties like margins, borders, padding and content.
- Common CSS selectors include element selectors, class selectors, ID selectors and pseudo-classes. The specificity of selectors determines which styles
JavaScript is a scripting language used to add interactivity to HTML pages. It allows dynamic updating of web page content without reloading the page. JavaScript code can be added inline, embedded, or externally linked in HTML pages. Common JavaScript elements include objects, properties, methods, events, functions, variables, expressions, conditions, loops, and arrays. The DOM (Document Object Model) represents HTML documents and allows JavaScript to access and modify elements dynamically. Cookies are used by JavaScript to store and retrieve information on the client-side.
JavaScript is a scripting language designed for web pages that is used to add interactivity and dynamic behavior to HTML pages. It was invented in 1995 by Brendan Eich at Netscape and is now the most popular client-side scripting language on the internet. JavaScript code can be included within HTML pages using <script> tags and is interpreted by web browsers rather than compiled. It allows for manipulating HTML elements, writing to documents, validating forms, detecting browsers, and handling events.
Cookies are used to maintain state in HTTP, which is a stateless protocol. Cookies are small pieces of data stored in a user's browser by a website. They help identify users and customize web pages for that user. There are different types of cookies like session cookies, persistent cookies, and third-party cookies. Cookies can store information to remember items in a shopping cart, login credentials, and browsing preferences. However, cookies also present security and privacy risks if not properly implemented.
2. To build User Interface:
To allow users to interact with web. Whatever we deliver
to the users is a combination of three technologies :
1. HTML for Structure(tells the different parts of content
and how they are related)
2. CSS for Presentation(tells how the content should be
displayed and formatted)
3. JavaScript for Behavior(tells how the content reacts
and changes based on user interaction)
(each technolo gy should be used only for its intended
purpose)
3. Benefits of using Specified technology only
for the intended purposes:
Accessibility(clean semantic HTML markup benefits
users that consume the net through non visual browsers
like screen readers.)
Portability(drop in new style sheet and implement
changes OR we can also use same CSS for multiple
projects)
Maintainability(make changes only in the CSS file
when content need not to be changed)
Reduced latency(CSS files are usually same for all
pages of a project, need not to download them
repeatedly)
4. HTML consists of a set of tags and rules for using those
tags in developing hypertext documents.
HTML is a Formatting/Markup language, not a
programming language.
HTML Documents = Web Pages
HTML documents describe web pages
HTML documents contain HTML tags and plain text
HTML documents are also called web pages
5. HTML Tags:
HTML tags are keywords (tag names) surrounded by angle brackets like
<html>
HTML tags normally come in pairs like
<b> (start tag) and </b> (end tag)
First tag turns the action ON and second turns it OFF
HTML Elements:
an HTML element is everything between the start tag and the end tag,
including the tags
HTML Attributes:
HTML elements can have attributes
Attributes provide additional information about an element
Attributes are always specified in the start tag
Attributes come in name/value pairs like: name="value"
6. <!DOCTYPE> is used to tell the
document type i.e. version of HTML
used. It is not an HTML tag. It is an
information (a declaration) to the
browser about what version the HTML
is written in. By default it is Html 5.
The <head> element is a container for
all the head elements like title, meta,
styles and scripts
The text between <html> and
</html> describes the web page
The text between <body> and
</body> is the visible page content
The text between <h1> and </h1> is
displayed as a heading
The text between <p> and </p> is
displayed as a paragraph
7. Headlines: Lists:
<h1></h1>,<h2></h2>,<h6></h6 There are three types of lists, ordered
> lists, unordered lists & definition lists.
H1 headings should be used as main Ordered:
headings, followed by H2 headings, then
1. Apple
the less important H3 headings, and so on.
2. Mango
Paragraphs: Unordered:
HTML documents are divided into
Apple
paragraphs.
Mango
<p>.. Text .</p>
Definition :
Anchor:
Apple
<a href="url">Link text</a>
- is red in color
The <a> tag can be used in two ways:
Mango
To create a link to another document,
by using the href attribute - is yellow in color
To create a bookmark inside a
document, by using the name attribute
8. Tables: Div:
A table is divided into rows (with the <tr> tag), and
The <div> tag defines a division or
each row is divided into data cells (with the <td>
a section in an HTML document.
tag). td stands for "table data," and holds the content
of a data cell. A <td> tag can contain text, links, The <div> tag is used to group
images, lists, forms, other tables, etc. Header block-elements to format them
information in a table are defined with the <th> tag. with styles.
Example:
Each division in this page is made
with the help of <div> tag .
9. HTML web forms are a composition of
buttons, checkboxes, and text input
fields embedded inside of HTML
documents with one goal in mind: to
capture user input. By doing things
such as providing fields for user data
such as names, phone number, and
email addresses, web forms give users
the opportunity to interact directly
with a webpage.
HTML forms are placed on a web page
using the <form> tag. This tag should
encapsulate a series of other form
elements, identifying them as a single
cohesive web form.
HTML form elements rely on action
and method attributes to identify
where to send the form data for
processing (action) and how to
process the data (method).
10. CSS stands for Cascading
Style Sheets
In addition to setting a style for a
Styles define how to display HTML element, CSS allows us to
HTML element i.e. it specify our own selectors called "id"
describes the presentation and "class".
semantics.
A CSS rule has two main
The id selector is used to specify a
parts:
style for a single, unique element. It
a selector uses the id attribute of the HTML
one or more declarations element, and is defined with a "#".
The class selector is used to specify
a style for a group of elements.
Unlike the id selector, the class
selector is most often used on
several elements. It uses the HTML
class attribute, and is defined with
a "."
11. id selector(#)
#para1
Each definition contains: {
text-align:center;
A property color:red;
}
A colon The style rule below will be
A value applied to the element with
A semicolon id="para1
Eg: h1 {font-size:12pt; color:red} Class selector(.)
.center { text-align:center; }
all HTML elements with
class="center" will be center-
aligned:
12. Dominating effects of properties defined on
elements works on the specificity.
There are rules to determine specificity.
Briefly it works on point system:
An element is worth=1 point
A class is worth =10 points
An id is worth =100 points
Eg:
p a { } =2 points
p.intro a { } =12 points
#about p.intro a { }=112 points
13. Inline style
Internal style sheet
2. Embedded or internal styles
External style sheet A style is applied to the entire HTML file.
Use it when you need to modify all
instances of particular element (e.g., h1)
in a web page
1. Inline styles Example:
Add styles to each tag within the HTML <head>
file. <title>Getting Started</title>
Use it when you need to format just a <style type=text/css>
single section in a web page.
h1 {font-family: sans-serif; color: orange}
Example:
</style>
<h1 style=color:red; font-family: sans-
</head>
sarif>
Inline style
</h1>
14. 3. External style sheets
An external style sheet is a text file containing the style definition (declaration)
Use it when you need to control the style for an entire web site
Example:
.html file abc.css
<head> h1 {font-family: sans-serif; color:
orange}
<title>Getting Started</title>
b {color: blue}
<link href=abc.css
rel=stylesheet type=text/css
/>
</head>
15. In CSS, the term "box model" is used
when talking about design and Margin - Clears an area around
layout. the border. The margin does
not have a background color, it
The CSS box model is essentially a is completely transparent
box that wraps around HTML
elements, and it consists of: Border - A border that goes
margins, borders, padding, and the around the padding and
actual content. content. The border is affected
by the background color of the
box
Padding - Clears an area
around the content. The
padding is affected by the
background color of the box
Content - The content of the
box, where text and images
appear
16. A block element is an element that takes up the full width
available, and has a line break before and after it.
Examples of block elements:
<h1>
<p>
<div>
An inline element only takes up as much width as necessary, and
does not force line breaks.
Examples of inline elements:
<span>
<a>
We can change the block to inline and vice-versa:
Eg: p { display:inline; }
17. Elements are floated horizontally, this means that an element can
only be floated left or right, not up or down.
A floated element will move as far to the left or right as it can.
Usually this means all the way to the left or right of the containing
element.
The elements after the floating element will flow around it.
The elements before the floating element will not be affected.
If an image is floated to the right, a following text flows around it,
to the left:
Eg:
img
{
float:right;
}
18. The CSS positioning properties allow us to position an element.
1. Static Positioning (The default positioning for all elements is
position:static, which means the element is not positioned and
occurs where it normally would in the document.)
2. Relative Positioning (If we specify position:relative, then we can
use top or bottom, and left or right to move the element relative to
where it would normally occur in the document.)
3. Absolute Positioning (When we specify position:absolute, the
element is removed from the document and placed exactly where we
tell it to go.)
4. Fixed Positioning (An element with fixed position is positioned
relative to the browser window. It will not move even if the window is
scrolled)
19. CSS pseudo-classes are used to add special effects to some
selectors.
selector:pseudo-class { property:value; }
Eg:
a:link {color:RED;} /* unvisited link */
a:visited {color:YELLOW;} /* visited link */
a:hover {color:GREEN;} /* mouse over link */
a:active {color:BLUE;} /* selected link */