Web Development Basics of HTML
Web Development Basics of HTML
Development:
The Basics of
HTML
CSCC 101 – Introduction to
Computing
Web
Development
CSCC 101 – Introduction to
Computing
3
Web Development
▸ It refers to the tasks associated with
developing websites for hosting via
intranet or internet.
▸ The process includes web design, web
content development, client-side/server-
side scripting and network security
configuration.
▸ It also encompasses all the actions,
updates, and operations required to build,
4
Web Developers
▸ Also called web devs.
▸ Those professional who always
develops and maintains the web.
▸ Most web developers use Hypertext
Markup Language (HTML), Cascading
Style Sheets (CSS), and JavaScript to
develop websites.
5
Description of Tags
▸ The opening <html> tag indicates that
anything between it and a closing </html>
tag is HTML code.
▸ The <body> tag indicates that anything
between it and the closing </body> tag
shown inside the main browser window.
▸ Words between <h1> and </h1> are a
main heading.
▸ A paragraph of text appears between these
<p> and </p> tags.
16
Description of Tags
▸ Here is another paragraph between opening
<p> and closing </p> tags.
▸ Another paragraph inside <p> and </p>
tags.
▸ Another sub-heading inside <h2> and
</h2> tags.
▸ The closing </body> tag indicates the end
of what should appear in the main browser
window.
▸ The closing </html> tag indicates that it is
17
HTML Headings
▸ HTML headings provide valuable information by
highlighting important topics and the structure of the
document, so optimize them carefully to improve user
engagement.
▸ Don't use headings to make your text look BIG or
bold. Use them only for highlighting the heading of
your document and to show the document structure.
▸ Since search engines, such as Google, use headings
to index the structure and content of the web pages
so use them very wisely in your webpage.
▸ Use the <h1> headings as main headings of your
web page, followed by the <h2> headings, then the
25
HTML Headings
26
HTML Paragraphs
▸ Paragraph element is used to publish text on the web
pages.
▸ Paragraphs are defined with the <p> tag. Paragraph
tag is a very basic and typically the first tag you will
need to publish your text on the web pages. Here's an
example:
27
HTML Styles
▸ Style information can either be attached as a
separate document or embedded in the HTML
document itself. There are the three methods of
implementing styling information to an HTML
doacument:
1. Inline styles — Using the style attribute in
the HTML start tag
34
HTML Styles
2. Embedded style — Using the <style>
element in the head section of the
document
35
HTML Styles
3. External style sheet — Using the <link>
element, pointing to an external CSS files
36
HTML Images
▸ Images enhance visual appearance of the web pages
by making them more interesting and colorful.
▸ The <img> tag is used to insert images in the HTML
documents. It is an empty element and contains
attributes only. The syntax of the <img> tag can be
given with: <img src="url" alt="some_text">
37
HTML Tables
▸ HTML table allows you to arrange data into rows
and columns. They are commonly used to display
tabular data like product listings, customer's
details, financial reports, and so on
Web
Development:
The Basics of
HTML
--- END OF DISCUSSION ---
40
THANKS!
Any questions?