little html question

8 posts Page 1 of 1
Contributors
User avatar
DrNayr
New Member
New Member
Posts: 14
Joined: Thu May 16, 2013 9:06 am

little html question
DrNayr
heello peoples i know im not very active but i got a serios question that made me suffer!
im trying to make a simple website for friends and personal use, but im really newbie but
i can learn so fast, i already watched full series (40 videos) of XHTML and CSS in one day
4 hours straight,

so what i was trying to find is, when im making a website, you know the top menu right
I know , it shoudnt be that I put ALL PAGES navigation URLS to all pages, because, if i
add a new page i must edit all of them and its kinda stupid, so

whats the THING or The language i need to learn to make such things, like CSS, html, javascript..etc

if you dont understand

Whats the possible ways Or [What web language should I learn to do this.. ]
what i want to do is

I wanna keep The Navigation Bar (website menu) and logo on All pages, without the need
of copying it all places, or atleast i shoudnt edit all pages if i just wanted to add a new
page to navigation


lol thanks, i hope someone can actually help or understand
User avatar
Ffenixw0rks
VIP - Donator
VIP - Donator
Posts: 152
Joined: Sun Jun 19, 2011 2:51 pm

Re: little html question
Ffenixw0rks
It could be done in PHP.

Create two files: header.php and main.php (for example)
In header.php just write your menu and stuff.
In main.php in first(or where you need that) just type:
Code: Select all
<?php include("header.php"); ?>
And when you will open main.php on website it will merge header.php and main.php in one page, like all the text from header.php would replace the line above.
Read more about include() and don't forget: if you opened tag for example <body> in file that you have included you need to close it in it ( :? ) or in any file that includes it.
Image
User avatar
DrNayr
New Member
New Member
Posts: 14
Joined: Thu May 16, 2013 9:06 am

Re: little html question
DrNayr
Thanks,

Im actually now learning all web languages, watched 35 tuts today :) im doing this is it right?

CSS + XHTML
then JavaScript
then HTML 5
then php

is this good way to learn it easy?

ty

ps im learning at youtube.com/thenewboston
Filip
Coding Guru
Coding Guru
Posts: 833
Joined: Wed Jan 05, 2011 3:59 pm

Re: little html question
Filip
I did:
HTML + CSS
PHP + SQL
JS
HTML5
CodenStuff wrote:
Nope, it's just your sick and dirty mind. You sick twisted warped little pervo :D
User avatar
benji_19994
VIP - Donator
VIP - Donator
Posts: 156
Joined: Mon Apr 16, 2012 3:13 pm

Re: little html question
benji_19994
Why don't you actually learn from the videos and not just do what there doing in them 40 videos in 4 hours tells me you're not learning properly...
User avatar
DrNayr
New Member
New Member
Posts: 14
Joined: Thu May 16, 2013 9:06 am

Re: little html question
DrNayr
I will do the same as u Filip :)

and benji,

im learning and i try to do many examples and combine all what i learn my self after i watch videos,
Also, im not just learning this, I have Java, C++ as programming and those as web dev, im trying to finish all these in 2-3 weeks :)
User avatar
benji_19994
VIP - Donator
VIP - Donator
Posts: 156
Joined: Mon Apr 16, 2012 3:13 pm

Re: little html question
benji_19994
To be honest to learn a language properly you have to use repetition to remember it properly and learn one language at a time!
User avatar
Danny
VIP - Donator
VIP - Donator
Posts: 621
Joined: Sat Oct 30, 2010 8:21 pm

Re: little html question
Danny
Just include the php like they all said it, you can also fetch the data from a database if you like
8 posts Page 1 of 1
Return to “Help & Support”