Showing posts with label tags. Show all posts
Showing posts with label tags. Show all posts

CREATING FORM

CREATING FORM 

Form use to creating text , number ,email and password boxes in html page.
For creating boxes we use input tag .
Input tag is also use creating buttons in page of website.

Attribute of input tags

  1. Type="Text" For using text box.
  2. Type="Password" For using password box.
  3. Type="Email" For using Email box.
  4. Type="Radio" For using radio buttons.
  5. Type="submit" For using submit buttons.

Spacial Attribute

Placeholder is very spacial attribute.

FOR Example:

<!DOCTYPE html>
<html>
<body>

<form action="action_page.php">
First name:<br>
<input type="text" name="firstname" Placeholder="First name">
<br>
Last name:<br>
<input type="text" name="lastname" Placeholder="Last name">
<br><br>
<input type="submit" value="Submit">
</form> 



</body>
</html>



HTML TAGS:

For learning HTML following heading very important because these are basic information of HTML. Therefore read carefully and understand every part of this chapter.......

HTML TAGS:


    Tags contain elements which provide instructions for how information will be processed or displayed. There are both starter tags <TAG> and end tags </TAGS>

Element:

    A basic unit of an HTML document. The name of the element is given in the name of the tag, and specifies the meaning associated with a block of text. Some elements are empty since they don't effect a block of text. Elements that have contents are also called containers, i.e., they contain attributes.
    • Example: the <HR> tag contains the Horizontal Ruler element. It is an empty element in that it has no attribute.

    Attribute:

      Defines a special property of an HTML element.
      • Example: <IMG SRC="image.gif"> means that the element IMG has an attribute SRC, which specifies the name of the image file, which is assigned the value "image.gif".

      Delimiters: <, >, /

        Delimiters surround the tag and inform the parser that it should read the enclosed information as an HTML element.

      HTML Structure

      HTML is a structured hierarchical language that requires you to follow its rules if you wish your documents to appear correctly. For example, certain elements and tags are required to fit within other elements and tags and will not work unless they are properly placed.




      CSS(Cascading Style Sheets)

      CSS(Cascading Style Sheets)

      Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language. Although most often used to set the visual style of web pages and user interfaces written in HTML and XHTML, the language can be applied to any XML document, including plain XMLSVG and XUL, and is applicable to rendering in speech, or on other media. Along with HTML and JavaScript, CSS is a cornerstone technology used by most websites to create visually engaging webpages, user interfaces for web applications, and user interfaces for many mobile applications.
      CSS is designed primarily to enable the separation of document content from document presentation, including aspects such as the layout, colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple HTML pages to share formatting by specifying the relevant CSS in a separate .css file, and reduce complexity and repetition in the structural content.
      Separation of formatting and content makes it possible to present the same markup page in different styles for different rendering methods, such as on-screen, in print, by voice (via speech-based browser or screen reader), and on Braille-based tactile devices. It can also display the web page differently depending on the screen size or viewing device. Readers can also specify a different style sheet, such as a CSS file stored on their own computer, to override the one the author specified.
      Changes to the graphic design of a document (or hundreds of documents) can be applied quickly and easily, by editing a few lines in the CSS file they use, rather than by changing markup in the documents.
      The CSS specification describes a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities (or weights) are calculated and assigned to rules, so that the results are predictable.
      The CSS specifications are maintained by the World Wide Web Consortium (W3C). Internet media type (MIME type) text/css is registered for use with CSS by  (March 1998). The W3C operates a free CSS validation service for CSS documents,

      HTML(Hyper Text Markup Language)

      HTML(Hyper Text Markup Language)

      Hyper Text Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS), and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents from a web server or from local storage and render them into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.
      HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects, such as interactive forms may be embedded into the rendered page. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets. Tags such as <img /> and <input /> introduce content into the page directly. Others such as <p>...</p> surround and provide information about document text and may include other tags as sub-elements. Browsers do not display the HTML tags, but use them to interpret the content of the page.
      HTML can embed programs written in a scripting language such as JavaScript which affect the behavior and content of web pages. Inclusion of CSS defines the look and layout of content. The World Wide Web Consortium (W3C), maintainer of both the HTML and the CSS standards, has encouraged the use of CSS over explicit presentation  HTML since 1997
      Some tags of HTML.
      • <H1> For Heading </H1>
      • <A> For LINK </A>
      • <IMG> IMAGES
      • <P> PARAGRAPH </P>
      • <INPUT> TEXT BOX
      • <BR> LINE BREAK </BR>

      introduction of computer

      A video introduction of computer                                         very useful information in this video.                      ...