-Introduction to Scripting Languages
-Introduction to Scripting Languages
2. HTML and the World Wide Web: HTML serves as the foundation for
building websites on the World Wide Web. It enables the creation
of webpages, which are then linked together to form websites,
accessible through browsers over the internet.
7. Color and Fonts: HTML allows developers to set colors for text,
backgrounds, and other elements, often using CSS for precise
control. Fonts are also styled via CSS to enhance the readability
and aesthetics of the content.
10. Adding Graphics with Image Elements: HTML’s <img> tag is used to
add images to a webpage. Images enhance visual appeal and can
provide additional information. Image sources are specified with the
src attribute.
11. Using Images as Links: Images can serve as hyperlinks by
embedding the <img> tag within an <a> tag. This makes the image
clickable, directing users to a different page or website when
clicked.
13. Image Files: Image files commonly used in HTML include JPEG,
PNG, and GIF formats. Each format has its own characteristics; for
example, JPEGs are good for photos, PNGs support transparency,
and GIFs support animation.
14. Adding Sound and Video Formats: HTML5 introduced the <audio>
and <video> tags to support embedding audio and video content
directly into webpages without needing external plugins.
Unit-II
Here's an explanation of each of these topics related to structuring,
layout, and interactivity in HTML:
Unit-III
2. Style Rules: Style rules are CSS instructions defining how elements
should be displayed. A style rule consists of a selector (indicating
the HTML element to style) and a declaration (containing properties
and values). For example, p { color: blue; } targets all <p> elements
and sets their text color to blue.
3. Creating Styles for Tags: By targeting specific HTML tags (like h1,
p, or div) with CSS, you can apply consistent styles to all instances
of those tags. This can be done using inline, internal, or external
styles. For example, setting p { font-size: 16px; } in a CSS file will
make all paragraphs 16 pixels in size.
These topics are essential for building structured, visually appealing, and
interactive webpages that offer rich user experiences across different
devices. With a combination of HTML for structure and CSS for styling,
developers can create professional and functional websites.
Unit-IV
These concepts form the foundation of CSS, empowering web designers and
developers to create visually appealing and user-friendly web layouts,
typography, and structured page designs. By mastering these CSS basics,
you can build consistent, scalable, and responsive websites.