Interactive Web Design - Short
Interactive Web Design - Short
INTRODUCTION TO HTML
Short Answers
3.What is HTML?
HTML, or Hypertext Markup Language, is the standard markup language
used for creating web pages and web applications. HTML provides the
basic structure of a web page.
HTML is written in the form of HTML elements consisting of tags enclosed
in angle brackets (<,>).HTML tags most commonly come in pairs like <H1>
</H1>. They are also called as starting or opening tag and the closing tag
or ending tag. Browsers are used to read HTML documents.
13.What is Hyperlink?
Hyper link is commonly an underline word or phrase or sometimes even a
graphic image or icon which has been tagged with a particular HTML
command containing the specific address of another location.
Or
Hyper link is the ability to define links from one page to another page on
the web.
Hyperlinks are specified by <a> {anchor tag} linked document is
represented by HREF attribute.
Hyperlinks are enclosed between <a></a>
2. target Attribute
target: Specifies where to open the linked document. This attribute is
optional. Possible values include:
_self, _blank, _parent, _top
<a href=http://www.google.com target=”_blank”>GOOGLE</a>
Short Answers
</body>
</html>
UNIT-III
CASCADING STYLE SHEETS (CSS)
Short Answers
1.Define CSS
CSS stands for Cascading Style sheets. It is a text file with .css extension
and it is commonly used to define styles and layouts of web pages written
in HTML. CSS is designed to enable the separation of the document
content and document format
Syntax:
element {
text-align: value;
}
5.Write a program on list-style-image property?
The list-style-image property in CSS is used to specify an image as the
marker for list items.
Style.css
ul
{
list-style-image: url('1.png');
}
1.html
<html>
<head>
<title>List Style Image Example</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Custom List Markers</h1>
<ul class="custom-list">
<li>List item 1</li>
<li>List item 2</li>
<li>List item 3</li>
<li>List item 4</li>
</ul>
</body>
</html>
Default.html
<html>
<head>
<link rel="stylesheet" type="text/css" href=
"styles.css">
</head>
<body>
<ul>
<li>list item1</li>
<li>list item2</li>
<li>list item3</li>
</ul>
<ol>
<li>list item1</li>
<li>list item2</li>
<li>list item3</li>
</ol>
</body>
</html>
15.What is inheritance?
Inheritance in CSS refers to the process by which certain property values
are inherit from parent elements to their child elements. This behavior
helps maintain consistent styling across a web page and reduces the need
to repeatedly define the same styles for multiple elements.
UNIT-IV
CSS BACKGROUNDS & GRADIENTS
Short Answers
UNIT-V
CSS TRANSITIONS & ANIMATIONS
Short Answers
UNIT-VI
CSS FLEXBOX & GRIDS
Short Answers
Short Answers
1.What is JavaScript?
JavaScript is a high-level, interpreted programming language that is
primarily used to create dynamic and interactive effects within web
browsers rather than on a server It was originally developed by Netscape
as a means to add interactivity to web pages.
2.What are the basic data types in JavaScript?
Number: Represents numeric values, both integers and floating-point
numbers.
Examples: 10, 3.14, -25,
String: Represents textual data enclosed within single quotes (') or
double quotes (").
Examples: (interpreted as string).
Boolean: Represents a logical value indicating true or false.
Examples: true, false.
Null: Represents the intentional absence of any object value.
Example: null.
Short Answers