html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
tags. It also discusses creating a basic HTML document with headings, paragraphs and introducing HTML5, media attributes and objects.">
0% found this document useful (0 votes)
25 views

HTML Assignment

The document discusses HTML including its basic structure and tags. It defines HTML, describes HTML documents and their structure including <html>, <head>, <body> tags. It also discusses creating a basic HTML document with headings, paragraphs and introducing HTML5, media attributes and objects.

Uploaded by

fagixa3491
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

HTML Assignment

The document discusses HTML including its basic structure and tags. It defines HTML, describes HTML documents and their structure including <html>, <head>, <body> tags. It also discusses creating a basic HTML document with headings, paragraphs and introducing HTML5, media attributes and objects.

Uploaded by

fagixa3491
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

1. What is a html?

Ans :-Hypertext Markup Language (HTML) is the


standard markup language for documents designed to be displayed in
a web browser.
2. Describe html document?
Ans :- It's a text document saved with the extension .html or .htm
that contains texts and some tags written between "< >" which give
the instructions needed to configure the web page.
Every HTML document includes two parts:
- one part that is visible to/in the browser and can't be changed
directly and that shows the entire content of the page.
- another part that contains the source code of the page with
which we can modify the HTML document. This part is the one
we'll work with.

To see the source code of any HMTL document you just have to
click the right mouse button inside the page (text area) and click
on "View source" or "View Frame-Source". The Text Editor will
open a document containing the source code of the page.

To explain the basic structure of an HTML document there are


three tags that describe it and that give simple information about
it. These tags don't affect the appearance of the document, they
just frame and structure the HTML file.

 <html> and </html>: Border the document and indicate the


language in which it is written.
 <head>: Specifies the preface of the rest of the file. There are
few tags inside it, emphasizing the one of the title <title> that
identifies the content of the page. There can only be one title in
each document, preferably short and significant. In the head
there shouldn't be any text of the document.
 <body>: Is the main content or cause of the document. This is
the part of the HTML document that the computer shows.

3. Basic structure of an html document?

Before you can start adding content to your document, there's


a basic structure you need to set up in your file. This structure isn't
only required for your document to be compliant but will also allow
you to provide useful information about your document. The basic
structure of any HTML document consists of the following sections
or elements:

 The DTD (!DOCTYPE declaration).


 The main container (html element).
 The head section (head element).
 The body section (body element).

4. Creating an HTML document


Ans :-<!DOCTYPE html>
<html>
<head>
<title> Creating an html document</html>
</head>
<body>
This is a basic structure of an html document
</body>
</html>
5. Creating html document which has heading tag ,Body tag,
Paragraph formatting
Ans:- :-<!DOCTYPE html>
<html>
<head>
<title> Creating an html document</html>
</head>
<body>
<p> a browser’s job is surprisingly simple in fact, the bulk of
its work consists of two tasks. First it requests web pages, which
happens when you type in a website address or a click a link in
a web page</p>
</body>
</html>

Unit 2
1. Introduction of html5?
Ans:- HTML5 is the fifth revision and newest version of the
HTML standard. It offers new features that provide not only rich
media support but also enhance support for creating web
applications that can interact with users, their local data, and
servers more easily and effectively than was previously possible
2. What is a screen control attributes in HTML5?
Ans:-
3. What is a media control attribute ?

The media attribute specifies what media/device the linked


document is optimized for.

This attribute is used to specify that the target URL is designed


for special devices (like iPhone) , speech or print media.

This attribute can accept several values.

Applies to
The media attribute can be used on the following elements:
Elements Attribute

<a> media

<area> media

<link> media

<source> media

<style> media

4. What is a HTML object?

The <object> tag defines a container for an external resource.

The external resource can be a web page, a picture, a media


player, or a plug-in application.

Unit 3

1. Introduction of CSS?

What is CSS?
 CSS stands for Cascading Style Sheets
 CSS describes how HTML elements are to be displayed on screen,
paper, or in other media
 CSS saves a lot of work. It can control the layout of multiple web
pages all at once
 External stylesheets are stored in CSS files

Why Use CSS?


CSS is used to define styles for your web pages, including the design,
layout and variations in display for different devices and screen sizes

2. CSS syntax css

You might also like