Html homepage Template with Code

Html-Homepage template with code

Chapter 1: Heading Simple is a minimalist homepage layout with subtile colors and powerful header type. You can use these parts to split the entire page into a number of smaller parts to work with. It' pretty simple, we just need a HTML document, a pictures directory and a custom style sheet.

Then, use a code editor to generate a new empty HTML document and store it as index.html. Nearly the entire theme can be created using HTML and CSS, but we need to get a few pictures from the PDF as well. Choose Saving for Web... from the File drop-down list and saving the photos as JPGs, and any symbols or transparent pictures as PNGs.

In your text editors, open the index.html html with the following code: It is the most fundamental template that all HTML documents need. Since we have already divided the theme into 7 different parts, we can go one stage further and visualize the main HTML structures that we will use.

Remainder can be added later together with the contents. Let's insert this tree into our HTML files, between the tags: You do this with a containers dive with the category 'wrapper': Now we can insert the contents from the theme into the HTML. There is a day used for the logotype and a chip with a colour category allows us to change the colour of the dot later with css.

This is a plain disordered listing with 4 listing entries embedded in the HTML5 tag semantics. Each of the 3 features section is a listed element in a disordered listing, with CSS we' ll flood the remaining listed element to show them horizontal. In order to avoid that other element are affected by floatation, we also need a dividend with the clear category and in future the clear category will have the clear:both category in it.

Similar to the Feature section, we float to the right to show them in a horizontal position. Normally I wouldn't suggest this, but in this case the wallpaper for the items would be classified as contents and not style, so it should be in the HTML and not in the CSS. As soon as it is download, place it in the bss directory and paste this line of code into the section of our HTML:

Use your text editors to make a new empty text file and store it as a template. Place it in the directory named ssc, and insert this line of code into the section of the HTML (directly below the ssc reserve line): The inclusion of this line of code allows us to use the Crete font:

< × × × color: #777; font: regular fonts size 16px "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; line height: size 21px; border signature: size 21px; type family: Crete Round', serve; font: fat; color:

#444; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×:

#444; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×:

#444; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×: #444; × × × color: #02b8dd; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×: #777; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×:

0x10px; Style positions the text of the logotype and the attributes. colors define the colors of the dot in the logotype.

#02b8dd; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×: Text transformation: upper case; fast; font: fat; display: blocks; font: blocks; font: bold; display: blocks; right margin: pixel: 20 px; The #Hero picture category has a size that is actually smaller than the size of the wallpaper, which gives you a few top and bottom pixel that you can use when playing with in the near term when smaller changes are required, or when you react to your designs. your text transformation: upper case; font: fat; display: blocks; right margin: 20 px; The #Hero picture category has a size that is actually smaller than the size of the wallpaper, which gives you a few top and bottom pixel with which you can interact when smaller changes are required in the future, or when you let your designs respond:

e8eced url('../images/hero. jpg') No-Repeat-Centre; bright centre; bright edge: >80px 0 >40px 0; bright display: pad; bright text alignment: centre; bright background: px; × × × color: Width: 160px; Height: 500px; Type size: 200px; Line height: 200px; Margin: 0 automatic; Colour of background:

#02b8dd; × × × × color: Each of the featured items shares the #features ul li tag, but the custom tag-1, tag-2, and tag-3 tags are different for each item and separate icon definitions for each of them.

No repetition of the upper centre; background: url('../images/characteristics/icon-2. png') No repetition of the upper centre; background: url('../images/characteristics/icon-3. png') No repetition of the upper centre; the headline 3 in this section is highlighted and centered, which is the adaptation of the h3 default specified in the overall style range ofSS.

S60px 0; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×: #02b8dd; × × × × × × × Upholstery: is used to place only 20 pixel edge on the first item, and the superposition grade. has a slightly translucent blank color backdrop with ngba. × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×:

S60px 0; × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × ×:

200px; × × × edge bottom: #02b8dd; × × × color: #02b8dd; × × × × padding: x6x20px; × × × edge radius: #02b8dd; color:60px0; text orientation: centre; display: pad; margin: 0 aut20pxauto; width:400px; bottom margin:

#02b8dd; × × × × × × × Upholstery: Zero 0 0 0 200px Zero; Display: Blank; Random; Automatic; Random: 2x solids #02b8dd; × × × color: #02b8dd; × × × edge radius: Three px; width: 180 px; height: 50 px; type size: 20 px; line height: 50 px; colour of background:

#02b8dd; × × × × color: #fff; We divide the bottom row into two major colums with a float: leave attributes on both #footer-info and #footer-links.

Dividing the theme into parts and visualizing the structural before we begin programming makes it amazingly easy to code a template with HTML5 and CSS3. Remember that you can get the simple template here: Simple is a minimum, slim, one-sided copy containing subtile colours and powerful front page type.

Developed for agency use, this page has a large neat headline with top banners, feature lists, contents and footers.

Auch interessant

Mehr zum Thema