PSD to HTML 2.5) Structuring the Footer
Transcription of PSD to HTML 2.5) Structuring the Footer
hello and welcome back to the PSD to HTML responsive portfolio build in this lesson will get started coding the footer of are not and as we can see your foot is broken up into three separate columns first two columns have some simple text that should be pretty easy and then the third column has a simple form still pretty easy but little bit more involved this rebuilding a forum instead of just some text now keep in mind we’re not going to make this form work we’re not going to build the back end for this to to make it actually subscribed to something we’re just building the front and we’re just making it look right in HTML and CSS and then at the bottom will have this fall with far darker gray bar with our copyright information on it so far any move to everything into a new folder called site 205 so are starting files here will be the files we ended with in the same 04 folder and at the end of this lesson all the changes we make will be saved in the site 05 folder so very open that up in TextMate we have psych 05 index HTML here and we’re going to move on to the next section now since we’ve labeled Ursus we’ve created a comment here labeling the end of this section it’s easy to find we just come there and hit enter to go to the next line and get started on the next section which is going to be our father now we’re going to start with our footer elements will go ahead and create our opening and closing further tags and if we look and our Photoshop document again we can see that this background does extend all the way to the edges of the browser so we don’t want to just give that further element a class of container then her background would extend all the way to the edge so for the footer element will create that dark grey background have it 100% of the width of the browser and then inside the folder will create a diff with the class of container that will contain the rest of our content so will jump back into our code go inside the element here and we’ll create our do with a class of container couple lines but are closing did here and we might even put a comment here this is containers we want and then inside that container we’re going to have three separate columns again our first two columns is gonna have some txt Edit and then our third column is going to have a registration form we’re going to create these columns using divs so let’s create our first day of column here so created did with a class of 04 column 1 hyphen third because it’s gonna take up one-third of the with a couple lines in her closing div tag and their ego so beautiful size this column is going to take up one-third of the width of that container area and we can go ahead and create other two columns as well title again or we could just come up here copy that and then pieced it down here twice so there are three columns and then inside these columns were in has some content so for the first Colin Morgan have the from the blog section so many put the title in h3 tag and its gonna say from the blog include h3 tags there and for this h3 organ use a definition list and the title of the blog post is going to be the DET element of the definition term element and actually it’s more accurately described as a description list and each team 05 so let’s call it a description list so our DTE or description term element is going to be the title would he even called the description title and then DDD element is going to be the date down below and we can style it btw in the DDA elements separately so I mean you can do this a number of different ways you could do this using an unordered list and in just stop here your titles and your date separately that way using spans or something like that again there’s always a dozen different ways to do something in each team when I’m gonna do this using DL element so many of the same class of further hyphen list of a couple lines and closing DL tag and then inside the DL we have a series of DTD pairs so we have a duty which is going to have the title of our element which I’m asking you some reading text here and in her closing bTW tag and then we’ll have a DVD tag that spare with it and say on March 10 spell it right now and 2014 here in closer to the elements so again if you’ve never used a DL element before a description lester definition less that’s what it looks like so we have a DL which contains the entire list and then we have a series of pairs of DDT and DDE now originally this was a definition list here you would have the term and in the DVD tag would have the definition so that’s kind of how it started but now it’s more of a description list does not use just for definitions snow at stake this DTD deep air here copy it and paste it three or two times that we have three total and I’m gonna grab some text overhears just some more lorem ipsum text describing it from another window and copy it and paste it here is that we can have a little bit of variety and we’ll go and leave the third one like it is and we’ll just change the dates so maybe this will be March 8 and this one would be march 2nd or 3rd or whenever ok so there’s our first call we have this deal with the class of column one-third and then inside the day we’ve been reached three and description list so in our second column we just have a simple address so in this particular column we’re going to put in each three here with the title of contact us when our closing h3 tag and then we’re going to use the address element here opalines her closing address element and then inside that address unmet will just enter in an address 0123 45th Street put a line break here and don’t Texas 77077 put another line break and then overhears 0555 etcetera and we’re going to put two line breaks here and then we’ll have an email address and I want to make that clickable sore gonna make it will put it inside a link and so we might have mail to colon and then whatever the email addresses will just say info @ gmail.com that’s an actual email address but we’re going to use that for now in full and email.com and their ego so that takes care of that section for third section is going to have a registration form and even though it is a former so gonna be pretty easy to do because we don’t have to worry about making it work going to leave that up to the developers so mp3 tag and will say register for updates closing h3 tag that i’m gonna have a farm in when you have a form element like this you would usually have some kind of action related to it but I’m sure the form tag as is with no attributes and then the developers can come in and fill in however they wish you know we really need here’s a couple of inputs and a button so creator inputs are first input type equals text is going to be a text field and let’s give us an idea of names were gonna enter in their name and from the placeholder text me said that equal to name with a capital and then we’ll have another input with a type of text in this is we’re going to entering their email address or give us an idea of the email here we’ll have another place holder and email at address dot com you can give them an example of what that feels the supposed to look like and then finally will have a button element of this type of submit the form using US Patent and we can put the text subscribe inside them by minimal put our closing but intact alright enough form is closed and there we go so all we need now at the very bottom would see after this closing containers here will put another div in will give this actually no incentive in Davis greenspan here with a class of copyright in Wahpeton copyright information in here now to get the copyright symbol we’re going to take him percent copies semicolon give us the copyright symbol or text copyright 2014 my portfolio design and then close that span tag and now for all intents and purposes are HTML is done I’m still gonna be some tweaking probably as we go back and forth working on our CSS but again for the most part it’s done so we can save that and view it in chrome and can scroll down and see all the new content that we just added and we really just at this point just making sure that the content is than a year and as we move forward her CSS will start to really designed it and make sure that it looks good so thank you for watching and I’ll see you in the next video
PSD to HTML 2.5) Structuring the Footer
Reviewed by Tayyab Saqlain Zakki
on
08:13
Rating:
Reviewed by Tayyab Saqlain Zakki
on
08:13
Rating:

No comments: