1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Been reading tutorials but can i get some tips on making this html page?

Discussion in 'HTML & JavaScript' started by Ranko Jones, Oct 21, 2012.

  1. Ranko Jones

    Ranko Jones BANNED BANNED

    Joined:
    Mar 3, 2011
    Messages:
    1,677
    Likes Received:
    146
    I want to make a landing page in html with just a call to actions and 6 or so images.

    I was playing around briefly last night and the code for the body and stuff made sense but how about positioning images and also where do i upload it.

    if i have images they would be stored somewhere right? so i just upload the images to a folder on my hosting im guessing and get the code to call it form there? I am familiar with the codes from wordpress so im presuming its the same shit i just have to do it manually?

    Anything else ill have to do?
     
  2. The Web Designer

    The Web Designer Regular Member

    Joined:
    Jul 22, 2012
    Messages:
    350
    Likes Received:
    319
    Location:
    Borneo
    The landing page should be named index.html , or have you already did that?

    Sometimes, the images don't have to be in a folder, but it's better that way to keep things organised.

    Don't forget to optimize the images (use photoshop's save for web) so that the webpage loads faster.
     
    • Thanks Thanks x 1
  3. dennisyu

    dennisyu Power Member

    Joined:
    Jan 9, 2010
    Messages:
    552
    Likes Received:
    170
    You are correct.
     
  4. Ranko Jones

    Ranko Jones BANNED BANNED

    Joined:
    Mar 3, 2011
    Messages:
    1,677
    Likes Received:
    146
    k, i havent named it index yet but will do so soon. seems pretty straight forward hey.

    well should i name it index if i dont want it as the homepage? i recently bought a very generic domain cos i was fed up of buying new domains all the time and wanted soemthing i can dump loads of diff project into in subfolders i just made up some name 'gronjo.com'.

    When you go to the root and it shows 'index of' and the directories is that a security risk? since i am gonna have lots of diff projects (ie some porn some whatever like clothes or anyhting) i dont nec want a homepage where they can navigate the whoele site so what do ppl suggest i do to keep things seperate?

    if they go to the root domain what could i show?

    i mianly want this doamin for a bunch of landing pages which will be discreet unto themselves and that one searcher doesnt know about the others.

    Are subdomains a better idea than subfolders? whats the diff except for the urls?
     
    Last edited: Oct 21, 2012
  5. The Web Designer

    The Web Designer Regular Member

    Joined:
    Jul 22, 2012
    Messages:
    350
    Likes Received:
    319
    Location:
    Borneo
    The root directory (root domain) will show the list of files and folders when you don't have an "index" page on it i.e index.html. This is because the server will call up the index page first when someone visited your site or navigate to a folder within your domain. If you don't want your visitors to see "index of" page, just put an empty index.html file on the root directory.

    I'd suggest that you go for subfolders, but if you really want to separate you stuff, then go for subdomains. You could have the root domain to be redirected to one of your folders or subdomains.
     
  6. berkolish

    berkolish Newbie

    Joined:
    Oct 2, 2012
    Messages:
    21
    Likes Received:
    2
    I read somewhere that for SEO, subdomains are considered a whole new site by the search engines.. So the rank of your primary domain does not flow to the subdomain.. But since you are doing a generic site, I'm guessing you are not concerned with marketing.