Kevin Valentine Interdisciplinary Arts Media Performance

September 11, 2017

Basic HTML

Filed under: — admin @ 3:00 PM

Some Basic HTML Commands.

Outline of a Web page

<html>
<head>
< title> browser title</title>
</head>
<body>

your page text & media here

</body>
</htmlL>

 

Formatting in HTML

Headlines manipulates headline properties

<h1 align=center> heading text </h1>
values are h1 (largest) to h6 (smallest)

Font Size to change text size or alignment or color

<font size = # align = left/center/right color = ######> text </font>
where size= a value 1- 7, 1 is smallest, 7 is largest

Paragraph to define a block of text as a paragraph

<p> paragraph text goes here </p>

Center text

<center> text or image to be centered </center>

Blank or new lines

<br>

Lists places a numbered or bulleted list on the page

   ordered

<ol>
<li>list elem1
<li>list elem2
</ol>

     unordered

<ul>
<li>list elem1
<li>list elem2
</ul>

Definition

<dl>
<dt>def1
<dt>def2
</dl>

Special Characters to place special charaters into text

         &#nnn  183     Ex: mid dot =181 mu = 177

Horizontal rule

          <hr align=left size=12 width= 75%>

 

Misc.

Pictures   insert GIF, JPG file

    <img src=”filename” width= ### height= ###> where ### is the number of pixels to display the picture (usually only specify one)

 

hypertext links – external, internal & image – outdated links

<a name=”#aname”> anchor text or image </a>       sets an anchor point (internal bokmark) to transfer to

<a href=”aname”> link text or image </a>         set a link and destination – aname maybe URL, page name or #aname (internal bookmark)

<a href “default.htm#aname> link text or image </a>      to transfer to inside an external doc

 

Set Page background color

<body bgColor = #FF0000>     #FF0000 = RED, each 2 Hex digits of the number correspond to the red, green blue values

 

There are many other tags available. To see more, check out one of the HTML sites in resources.

homeMED105

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress