Web Test

For online website test

Showing posts with label html. Show all posts

Website Design With HTML | HTML List

3 comments :
In this tutorial you will learn how to create a variety of lists.
You can create three types of lists in HTML:

  • Unordered lists, which are like lists of bullet points
  • Ordered lists, which use a sequence of numbers or letters instead of bullet points
  • Definition lists, which allow you to specify a term and its definition

Website Design With HTML | HTML List

No comments :

HTML Lists:

In this tutorial you will learn how to create a variety of  HTML lists. Now we learn about three types of lists in HTML:
Web design | HTML Lists
  • Unordered lists,( are like lists of bullet points )
  • Ordered lists, (use a sequence of numbers or letters instead of bullet points)
  • Definition lists, ( specify a term and its definition)
 


HTML Unordered Lists:


1. Start with <ul>(unordered list) tag and end with a closing </ul> tag.
2. Enter the <li>(list item) tag followed by the individual item and close with </li>.
Try this example:

<b>Download:</b>
<ul>
<li >Software
<li>Music
<li>game
</ul> 

Tips:

You have the choice of three bullet types: Disc(default), Circle, Square. To do this we use "type" attribute for the <ul> element but bullet type is not supported in Internet Explorer 3.0 or below.



Try this Example:


<ul type="square">
<li >Software
<li>Music
<li>game
</ul>

HTML Ordered Lists:


An ordered list (also called an numbared list) start with <ol> tag and end with a closing </ol> tag.

Try this Example:



<p>Download:</p>
<ol>
<li >Software
<li>Music
<li>game
</ol>

Use attributes in ordered list:


You have the choice of five numbered types: Arabic numbers (the default), Capital letters, Small letters, Lower roman, Upper roman. To do this we use "type" attribute for the <ol> element .
 
Attributes for ordered list
Value for type attributes Description Example
1 Arabic numbers (default) 1, 2, 3, 4, 5
A Capital letters A, B, C, D, E
a Small letters a, b, c, d, e
I Lower roman I, II, III, IV, V
i Upper roman i, ii, iii, iv, v


Try this Example:

<b>Download:</b>
<ol type="I">
<li >Software
<li>Music
<li>game
</ol>


HTML Definition Lists:

The definition list is a special kind of list for providing terms followed by a short text definition or description for them. Definition lists are contained inside the <dl>element. The <dl>element then contains alternating <dt>and <dd>elements. The <dd>element contains the definition of the previous <dt>element.

Try this Example:


<dl>
<dt>KUET</dt>
<dd>Khulna University of Engineering and Technology</dd>
<dt>ECE</dt>
<dd>Electronics and Communication Engineering.</dd>
</dl>

Nested Lists:


Lists can be nested. You can also have a number of paragraphs, each containing a nested list, in a single list item.


Try this Example:



<ul>
<li>Web Design:
<ul>
<li>HTML
<li>CSS
<li>PHP
</ul>
<li>Download:
<ul>
<li>Software
<li>Game
</ul>
</ul>





Previous Tutorials

1. Create your Websites with HTML | HTML Introduction
2. Basic structure of HTML
3. Create Your websites with HTML | HTML Tags
4. Web Design With HTML | HTML Elements
5. Web Design with HTML | HTML Attributes

Web Design with HTML | HTML Attributes

No comments :

HTML Attributes:


HTML Attributes is nery important for web design. It provide additional information about HTML documents / elements.
Attributes are always specified in the opening tag and attributes come in name/value pairs like: name="value".
Attribute values should always be enclosed in double style quotes or single style quotes.


It is necessary to use single quotes, when the attribute value itself contains quotes. For Example: name='welcome to "our pc solution" home'.


Attribute names and attribute values are case-insensitive and (X)HTML will demand lowercase attributes.
World Wide Web Consortium recommends lowercase attributes.

Try this Example:

<html>
<head>
<title>HTML Attributes</title>
</head>
<body bgcolor="#FFFFFF">
<font size="7" face="Tahoma" color="#0000FF">
This is a paragraph.
</font>
</body>
</html>

Some HTML Attributes :
Tag Attributes
<h1> to <h6> <p> align="center" align="left" align="right" title="Bangladesh"
<font> size="7" face="Tahoma" color="#0000FF"
<body> bgcolor="#FFFFFF" background="../images/html.gif"
<img><table> height="100 px" width="80 px" border="7 px"
<div> id="student" class="html" align="justify"
<input> type="password" name="user_password"
<a> href="https://www.facebook.com" title="Facebook"

Note: You will learn about all attributes in the Reference chapter of this tutorial.

Website Design with HTML | Phrase Elements

No comments :
Web Design With HTML
The following elements are not used as widely as the elements you have met so far. As the element names
indicate, they are designed to describe their content:



  • <em>and <strong>for emphasis
  • <blockquote>, <cite>, and <q>for quotations and citations
  • <abbr>, <acronym>, and <dfn>for abbreviations, acronyms, and key terms
  • <code>, <kbd>, <var>, and <samp>for computer code and information
  • <address>for addresses

<em>and <strong>for emphasis:

The <strong>element is intended to show strong emphasis for its content—stronger emphasis than the <em>element. As with the <em>element, the <strong>element should be used only when you want to add strong emphasis to part of a document. Rather than being rendered in an italic font, most visual browsers display the strong emphasis in a bold font.
Try this Example:

<p><em>Always</em> look at burning magnesium through protective colored glass as it <strong>can cause blindness</strong>.</p>

The <abbr> Element Is for Abbreviations:

You can indicate when you are using an abbreviated form by placing the abbreviation between opening <abbr>and closing </abbr>tags.
For example, if you want to indicate that ECE is an abbreviation for Electronics & Communication Engineering, you can use the <abbr> element like so:

I like <abbr title="Electronics & Communication Engineering">ECE</abbr>.

The <acronym> Element Is for Acronym Use:

The <acronym>element allows you to indicate that the text between an opening <acronym>and closing </acronym>tags is an acronym.
For example, if you want to indicate that HTML was an acronym, you can use the <acronym>element like so:

This chapter covers marking up text in <acronym title="Hypertext Markup Language">HTML</acronym> 

The <dfn> Element Is for Special Terms:

The <dfn>element allows you to specify that you are introducing a special term. Its use is similar to the words that are in italics in the midst of paragraphs in this book when new key concepts are introduced.
For example, you can indicate that the term "XHTML" in the following sentence is important and should be marked as such:

This website teaches you how mark up your documents for the Web using <dfn>HTML</dfn>.

The <blockquote> Element Is for Quoting Text:

When you want to quote a passage from another source, you should use the <blockquote>element. Note that there is a separate <q>element for use with smaller quotations.
Try this Example:

<p>The following description of XHTML is taken from the W3C Web site:</p>
<blockquote> XHTML 1.0 is the W3C's first Recommendation for XHTML, following on from earlier work on HTML 5, HTML 4.01, HTML 4.0, HTML 3.2 and HTML 2.0. </blockquote>


The <q> Element Is for Short Quotations:

The <q>element is intended to be used when you want to add a quote within a sentence rather than as an indented block on its own:

<p>As Tom said, <q>Somebody's boring me. I think it's me</q>.</p>

The <code> Element Is for Code:

If your pages include any programming code (which is not uncommon on the Web), the following four elements will be of particular use to you. Any code to appear on a web page should be placed inside a <code>element. Here you can see an example of using the <code>element to represent an <h1>element and its content in HTML:

<p><code>&lt;h1&gt;This is a primary heading&lt;/h1&gt;</code></p>

The <kbd> Element Is for Text Typed on a Keyboard:

If, when talking about computers, you want to tell a reader to enter some text, you can use the <kbd> element to indicate what should be typed in, as in this example:

<p>Type in the following: <kbd>This is the kbd element</kbd>.</p>

The <var> Element Is for Programming Variables:

The <var>element is another of the elements added to help programmers. It is usually used in conjunctionwith the <pre>and <code>elements to indicate that the content of that element is a variable that can be supplied by a user:

<p><code>document.write("<var>user-name</var>")</code></p>

The <samp> Element Is for a Program Output:

The <samp>element indicates sample output from a program, script, or the like. Again, it is mainly used when documenting programming concepts. For example:

<p>If everything worked you should see the result <samp>Test completed OK</samp>.</p>

The <address> Element Is for Addresses:

Many documents need to contain a mail address, and there is a special <address>element that is used to contain addresses. For example, here is the address for KUET, inside an <address>element:

<address>KUET, Khulna-920300, Bangladesh</address>


Web Design With HTML [ HTML Elements ]

No comments :
An HTML document is everything from the opening tag to the closing tag it's also defined by HTML elements.
web design with html
HTML Elements:
Opening tag Elements Closing Tag
<h1> Web Design With HTML-5. </h1>
<p> Here everything is HTML Element. </p>
<a href="index.htm"> This is HTML Element tutorials link. </a>
<hr />

 

Basic structure analysis with HTML Elements:

<html>
<head>
<title>HTML Elements</title>
</head>
<body>
<p>An HTML document is everything from the opening tag to the closing tag it's also defined by HTML elements.</p>
</body>
</html>

Here <html> element is everything from the <html> to the </html>
Here <head> element is everything from the <head> to the </head
Here <title> element is everything from the <title> to the </title>
Here <body> element is everything from the <body> to the </body> 

Create Your websites with HTML [ HTML Tags ]

No comments :
HTML Heading Tags:
HTML heading tags are defined with the <h1> to <h6> tags.

Try this Example:>>
  
    <h1> HTML h1 Tag test</h1>
    <h2> HTML h2 Tag test</h2>
    <h3> HTML h3 Tag test</h3>
    <h4> HTML h4 Tag test</h4>
    <h5> HTML h5 Tag test</h5>
    <h6> HTML h6 Tag test</h6>


  
Others Tags: 


1. <p> & </p> tag use to display the text as paragraph view.
  Example:<p>This text use paragraph mode</p> 


2. Bold tag defined with the <b> & </b>. This tag use to display the text as bold view.
   Example:<b>This text use Bold tag.</b>


3. <i> & </i> tag use to display the text as italic view.
   Example: <i>This text use italic mode.</i>


4. <u> & </u> tag use to display the text as underline view.
  Example:<u>This text use underline mode</u>


5. <blink> & </blink> tag use to display the text as blink mode.
Example:<blink>This text use blink tag</blink>
 

6. <pre> & </pre> tag use to display the text as you write.
 Example: <pre>This text use   pre  tag</pre>
   

7. <s> & </s> tag or <strike> & </strike> use to display the text as strike view.
  Example: <s>This text use italic mode.</s>
    

8. <br /> tag use to line break, here not closing tag are available.
 Example: Md. Ismail Hossen Rana <br /> Bangladesh.

  
9. <hr /> tag use to creat a line, here not closing tag are available.
 Example: Md. Ismail Hossen Rana <hr /> Bangladesh.


10. <sub> & </sub> tag use to display the text as Subscript view. You write "Water=H2O" by following Example.
   Example: Water=H<sub>2</sub>O.


11. <sup> & </sup> tag use to display the text as Superscript view. You write "Today is 1st June" by following Example.
   Example: Today is 1<sup>st</sup>June. 


12. &nbsp; tag use to blank space, here not closing tag are available.
  Example: Md. Ismail Hossen Rana &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bangladesh.


13. <div> & </div> tag use to select a division & design necessary layout.

14. Anchor Tag defined with the <a> & </a> tags.
  Example: <a href="http://www.google.com"> Google</a>
           

NOTE: The link address is specified in the href attribute.(You will learn about attributes in a later chapter of this tutorial).

15.Others tags:
        You will learn about others tag in a later chapter of this tutorial. So try and try you will be success at last. If you have any problem to use these tags then write your problem with comment,i will solve your problem.


You can use more than one tags at a text.
    Example: <blink><u><b><i>This text use more tags at a time.</i></b></u></blink>
    Note: You close the tag at first which start at last and do this respectively.


1.Create Your websites with HTML (HTML Introduction)
2.Basic structure of HTML

Basic structure of HTML

1 comment :
           Structure:
<html>
    <head> Here you use CSS, jS Style Sheet tags.
        <title>Here use your website title</title>
    </head>
    <body>
        Here use main content of your page, you use this ppart to design your page. Normaly your page design start from here.
    </body>
<html>
      


    Try this Example:


Open your notepad & type  this(in below) code then go to file menu & click to "save as"  then set "File Name: index.html" & "Save as type: all files" and open this file with any web browser.
    
<html>
    <head>
        <title>Basic structure of HTML</title>
    </head>
    <body>
        This is my first web page. I am learning now HTML.
    </body>
</html>
    
    Code Analysis:
    
The text between <html> & </html> is describes the total web page.
The text between <body> & </body> is the contains page content.

Create Your websites with HTML (HTML Introduction)

No comments :
From now, i will try to write about HTML (Hyper Text Markup Language). If you follow my post, you will learn how to make a website. We offer free tutorials in HTML-5. HTML is easy to learn So create your own Web site with HTML-5 and enjoy it.

  
    What is HTML?

HTML means Hyper Text Markup Language.
HTML is a web pages describing language.
HTML is not a programming language, it is a markup language. HTML is a set of markup tags and markup tags used to describe web pages.
HTML tags(HTML markup tags) normally come in pairs like <b> and </b>.
Here <b> called start tag(Opening tag) and </b> called end tag(Closing tag).
The browser does not display the HTML tags, but the tags uses to interpret the content of the page.
  
    Necessary equipment:
    
1. Notepad or Dreamweaver or Notepad++ or etc
2. Internet explorer or Mozilla Firefox or Google chrome or etc.

Write your HTML code in notepad & save any name with .html or .htm extension such as file name.htm or index.html And open this file with any web browser. you can use either the .htm or the .html file extension. There is no difference.