Want to start HTML?

Discuss anything and everything. Keep it clean (or else).
themindstormman
Posts: 94
Joined: 01 Apr 2011, 22:46
Contact:

Re: Want to start HTML?

Post by themindstormman »

so i must start from scratch or analize my code?
Themindstormman3141
Website admin of themindstormman3141.com
NXT FOR ALL
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Want to start HTML?

Post by muntoo »

You should host your video on YouTube. It's much faster, more easy to use, and puts less strain on your website. If you insist on using your website to host the video, there are a number of ways to embed it.

Code: Select all

<img src="superbowl_xlv.wmv" width="500" height="350" alt=" To start video right click on your mouse then press open in new window.">
I'm not sure why you're using img. Possibly object or embed would work. But again, you really should use YouTube. I would.

YouTube provides HTML code to embed your movie into your webpage.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
muntoo
Posts: 834
Joined: 01 Oct 2010, 02:54
Location: Your Worst Nightmare
Contact:

Re: Want to start HTML?

Post by muntoo »

themindstormman wrote:so i must start from scratch
In a way, yes. I've taken a quick look, and you don't seem to be using any CSS. And you need more divs to structure your page in an organized fashion.
Image

Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE


Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Want to start HTML?

Post by timpattinson »

Also, this line in you homepage doesn't really work properly

Code: Select all

<IMG STYLE="position:absolute; TOP:0px; left:0px; WIDTH:1263px; HEIGHT:100px" src="themindstormman3141_home.jpg"
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
themindstormman
Posts: 94
Joined: 01 Apr 2011, 22:46
Contact:

Re: Want to start HTML?

Post by themindstormman »

i'll change things when i get a chance cause i'm i've been busy.
as for the youtube embed thing at the time i didn't have an account but now i'll try embedding it.
Themindstormman3141
Website admin of themindstormman3141.com
NXT FOR ALL
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Re: Want to start HTML?

Post by bungeshea »

Hi themindstormsman,
I suggest that you try http://validator.w3.org/. It is type of like a compiler, but for HTML and CSS. I have ran my site through it a number of times, and it shows you what HTML code you need to fix. Plus, every page that passes gets free stickers! :D
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Re: Want to start HTML?

Post by bungeshea »

Code: Select all

<img src="superbowl_xlv.wmv" width="500" height="350" alt=" To start video right click on your mouse then press open in new window." />
Hmm... I'm not happy with that code. Have you seen the HTML 5 way of putting videos on your site?

http://www.w3schools.com/html5/html5_video.asp

At least you could put a link to the video.

Code: Select all

<a href="superbowl_xlv.wmv">Click here to see my SuperBowl video!</a>
timpattinson
Posts: 224
Joined: 30 Oct 2010, 04:10
Location: 127.0.0.1
Contact:

Re: Want to start HTML?

Post by timpattinson »

studbrickmaster wrote:
Hmm... I'm not happy with that code. Have you seen the HTML 5 way of putting videos on your site?

http://www.w3schools.com/html5/html5_video.asp
Yes but then the majority of IE users won't be able to see it.
I know the people of this forum usually have more sense, I'm using FF7a1
but some people will not see it properly.
PS, w3schools is a bad site.
Commit to Lego Mindstorms StackExchange Q&A http://area51.stackexchange.com/proposals/4105
Minboards IRC Channel #mindboards on Freenode
My blog: http://timpattinson.wordpress.com/
nxtreme
Posts: 246
Joined: 29 Sep 2010, 03:53
Location: 192.168.1.2

Re: Want to start HTML?

Post by nxtreme »

timpattinson wrote:Yes but then the majority of IE users won't be able to see it.
I know the people of this forum usually have more sense, I'm using FF7a1
but some people will not see it properly.
I think that sometimes web page developers (or people that are just playing around :)) have to decide to better-support the community of people that will probably be viewing their site. I know that there are some of us that use IE and I have nothing against it at all, but most browsers in this day and age really should support HTML5. If if your browser doesn't, you probably have bigger things (like security) to worry about. You can always include a note that says something to the tune of "HTML5 compatible browser required to view this video" or something like that.
One King to rule them all, One King to find them,
One King to bring them all and in the darkness bind them
On Earth where Shadows lie.
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Re: Want to start HTML?

Post by bungeshea »

timpattinson wrote: PS, w3schools is a bad site.
And why would that be? :twisted:
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests