personal web page creation

Upload: pediatech

Post on 06-Apr-2018

225 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 Personal Web Page Creation

    1/12

    PERSONAL WEB PAGE CREATION

    AIM:

    To create a personal webpage using HTML elements

    ALGORITHM:

    1. Create a webpage with the title my webpage

    2. In this page we create hyperlinks for the personal details, qualification, hobbies and area of

    interest

    3. Personal details should be displayed in form format with a submit button which leads to the

    qualification page

    4. Qualification page should be in the table format

    5. Hobbies page should have fieldset

    6. Area of interest should have list

    7. Each page should have a next and prev button

    HTML ELEMENTS:

    HTML is a language for describing web pages.

    1. HTML stands forHyperText Markup Language

    2. HTML is not a programming language, it is a markup language

    3. A markup language is a set ofmarkup tags

    4. HTML uses markup tags to describe web pages

    HTML Documents = Web Pages

    1. HTML documents describe web pages

    2. HTML documents contain HTML tags and plain text

    3. HTML documents are also called web pages

    Saving HTML Files:

    When you save an HTML file, you can use either the .htm or the .html file extension. There is no

    difference, it is entirely up to you.

    HTML Element Syntax

    1. An HTML element starts with a start tag / opening tag

    2. An HTML element ends with an end tag / closing tag

    3. The element content is everything between the start and the end tag

    4. Some HTML elements have empty content

    5. Empty elements are closed in the start tag

    6. Most HTML elements can have attributes

  • 8/2/2019 Personal Web Page Creation

    2/12

    HTML Headings

    HTML headings are defined with the to tags.

    Example:This is a heading

    This is a heading

    This is a headingHTML Attributes

    1. HTML elements can have attributes

    2. Attributes provide additional information about an element

    3. Attributes are always specified in the start tag

    4. Attributes come in name/value pairs like: name="value"

    Below is a list of some attributes that are standard for most HTML elements:

    Attribute Value Description

    Class Classname Specifies a classname for an element

    Id Id Specifies a unique id for an element

    Style style_definition Specifies an inline style for an element

    Title tooltip_text Specifies extra information about an element (displayed as a

    tool tip)

    HTML Paragraphs

    HTML paragraphs are defined with the

    tag.

    Example:

    This is a paragraph.

    This is another paragraph.

    HTML Links

    HTML links are defined with the tag.

    Example:

    This is a link

    HTML Links - The name Attribute

    The name attribute specifies the name of an anchor.The name attribute is used to create a bookmark inside

    an HTML document.

    Example:

    A named anchor inside an HTML document:

    Useful Tips Section

    Create a link to the "Useful Tips Section" inside the same document:

    Visit the Useful Tips Section

  • 8/2/2019 Personal Web Page Creation

    3/12

    Create a link to the "Useful Tips Section" from another page:

    Visit the Useful Tips Section

    Empty HTML Elements

    HTML elements with no content are called empty elements.
    is an empty element without a closing tag(the
    tag defines a line break).

    HTML Lines

    The tag creates a horizontal line in an HTML page.

    Example:

    This is a paragraph

    This is a paragraph

    This is a paragraph

    HTML Comments

    Comments can be inserted into the HTML code to make it more readable and understandable. Comments

    are ignored by the browser and are not displayed.

    Example

    HTML Line Breaks

    Use the
    tag if you want a line break (a new line) without starting a new paragraph:

    Example:

    This is
    a para
    graph with line breaks

    HTML Formatting Tags

    HTML uses tags like and for formatting output, like bold oritalic text.These HTML tags are

    called formatting tags

    Tag Description

    Defines bold text

    Defines big text

    Defines emphasized text

    Defines italic text

    Defines small text

    Defines strong text

    Defines subscripted text

    Defines superscripted text

    Defines inserted text

    http://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_phrase_elements.asphttp://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_phrase_elements.asphttp://www.w3schools.com/tags/tag_sup.asphttp://www.w3schools.com/tags/tag_sup.asphttp://www.w3schools.com/tags/tag_ins.asphttp://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_phrase_elements.asphttp://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_font_style.asphttp://www.w3schools.com/tags/tag_phrase_elements.asphttp://www.w3schools.com/tags/tag_sup.asphttp://www.w3schools.com/tags/tag_sup.asphttp://www.w3schools.com/tags/tag_ins.asphttp://www.w3schools.com/tags/tag_font_style.asp
  • 8/2/2019 Personal Web Page Creation

    4/12

    Defines deleted text

    HTML Tables

    Tables are defined with the tag.A table is divided into rows (with the tag), and each row isdivided into data cells (with the tag). td stands for "table data," and holds the content of a data cell. A tag

    can contain text, links, images, lists, forms, other tables, etc.

    HTML Tables and the Border Attribute

    If you do not specify a border attribute, the table will be displayed without borders. Sometimes this can beuseful, but most of the time, we want the borders to show.

    HTML Table Headers

    Header information in a table are defined with the tag.

    HTML Unordered Lists

    An unordered list starts with the tag. Each list item starts with the tag.The list items are marked

    with bullets (typically small black circles).

    HTML Ordered Lists

    An ordered list starts with the tag. Each list item starts with the tag.The list items are marked with

    numbers.

    HTML Definition Lists

    A definition list is a list of items, with a description of each item.The tag defines a definition list.The

    tag is used in conjunction with (defines the item in the list) and (describes the item in the list)

    HTML Forms:

    HTML forms are used to pass data to a server.A form can contain input elements like text fields,

    checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend,

    and label elements.

    The tag is used to create an HTML form

    HTML Forms - The Input Element

    The most important form element is the input element.The input element is used to select user information.

    An input element can vary in many ways, depending on the type attribute. An input element can be of typetext field, checkbox, password, radio button, submit button, and more.

    Text Fields

    http://www.w3schools.com/tags/tag_del.asphttp://www.w3schools.com/tags/tag_del.asp
  • 8/2/2019 Personal Web Page Creation

    5/12

    defines a one-line input field that a user can enter text into text box

    Password Field

    defines a password field

    Radio Buttons

    defines a radio button. Radio buttons let a user select ONLY ONE of a limited

    number of choices

    Checkboxes

    defines a checkbox. Checkboxes let a user select ONE or MORE options of a

    limited number of choices

    Submit Button

    defines a submit button.

    A submit button is used to send form data to a server. The data is sent to the page specified in the form's

    action attribute. The file defined in the action attribute usually does something with the received input

    PROGRAM:

    My Webpage.html

    My Webpage

    My webpage

    Personal Details

    Qualification

    Area of interest

    Hobbies

    Personal.html

    Personal Details

  • 8/2/2019 Personal Web Page Creation

    6/12

    Name:


    Father's Name:


    Mother's Name:

    Age:

    0-10

    11-20

    21-30


    Gender:

    Male

    Female

    Address:

    8B Jain college colony,Nanganallur


    Home

    Qualification.html

    Qualification

    Class

    Place

    Percent

    10

    Cheran

    93

  • 8/2/2019 Personal Web Page Creation

    7/12

    12

    Cheran

    95

    B.E

    SVCE

    85

    Next page

    Prev page

    Home

    Interest.html

    Area of interest

    Web Tech

    Good subject

    Numerical Methods

    Easy subject

    Prev page

    Next page

    Home

    Hobbies.html

    Hobbies

    Collection

  • 8/2/2019 Personal Web Page Creation

    8/12

    Coin

    Stamp

    Dance

    Drawing

    Prev page

    Home

    OUTPUT:

  • 8/2/2019 Personal Web Page Creation

    9/12

  • 8/2/2019 Personal Web Page Creation

    10/12

  • 8/2/2019 Personal Web Page Creation

    11/12

  • 8/2/2019 Personal Web Page Creation

    12/12

    RESULT:

    Thus the personal web page creation using HTML is done successfully.