I would like to indent my text however, just simply indenting isn't working is there an html for this? Also, what cool html codes can I put on my site to make it not just about content. I want more possibly video?! Well, I don't know, you are the expert so please tell me!
I want to make an indent on my webpage does this require html?
There are a few ways to indent using HTML, all of which have their drawbacks. I'd recommend using a simple CSS code like this.
In the head section:
%26lt;STYLE TYPE="text/css"%26gt;
%26lt;!--
.indented
{
padding-left: 50pt;
padding-right: 50pt;
}
--%26gt;
%26lt;/STYLE%26gt;
Then add the following to your paragraph %26lt;p%26gt; tag:
%26lt;P CLASS="indented"%26gt;
As for cool codes, you might look into Javascript. It has a lot more capabilities than HTML.
Reply:The guy above me (catbertnc) basically explained the indent, so I can explain the video/music additions and stuff.
Basically, I advise if you want background music to NOT USE %26lt;bgsound="URL"%26gt; because only Internet Explorer accepts that code and Firefox, Opera and others won't play the sound clip. And if it's gonna be background music then try to have it be a small MIDI file that can loop repeatedly without it being TOO obvious. If you want background music, use the %26lt;embed src="URL" width="x" height="y" autostart="y/n"%26gt; (URL, x, y and y/n are VARIABLES) although, if you want it SEEMLESS background music that code would be:
%26lt;embed src="URL" width="0" height="0" autostart="true"%26gt; but if you want the play/pause button visible:
%26lt;embed src="URL" width="60" height="60: autostart="true"%26gt;
if you want the music to be streaming if the user CHOOSES to listen to it, then you just create a new page and use the exact same code as above, just change the height and width.
For VIDEOS:
look at the youtube code:
%26lt;object width="425" height="355"%26gt;%26lt;param name="movie" value="URL"%26gt;%26lt;/param%26gt;%26lt;param name="wmode" value="transparent"%26gt;%26lt;/param%26gt;%26lt;embed src="URL" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"%26gt;%26lt;/embed%26gt;%26lt;/object%26gt;
it doesn't have to be NEARLY as complicated. But, I advise that you convert the video files into a Flash .flv format that has a play-pause button so it doesn't continue to play when the person needs it to pause.
really, you can just use a simpler code like this:
%26lt;embed src="URL" width="x" height="y" autostart="y/n"%26gt; (once again, variables)
all of the multimedia where URL shows up, make sure it is NOT THE PAGE, but THE FILE'S LINK. all the width and height measurements are in PIXELS, and the only two options for autostart are True and False.
Tips for video
have the width and height the same as the file that's being embedded, to keep the best quality.
Turn the file into a .flv with a play-pause button
Tips for Audio
try to have a play-pause button visible (i recommend 60 x 60) so that the user can pause the music.
Keep the file size small so the clip loads faster and doesn't freeze and chop up.
Oh yeah:
WATCH YOUR BANDWIDTH. Media like streaming video and audio are bandwidth (data transfer) hogs and can easily send you over your limit with your provider.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment