bestwebdesign

Freelancign web design and Graphics design

bestwebdesign

How to Make Money as a Freelance Designer

Notwithstanding the fabulous notoriety, independent plan is no stroll in the recreation center. It takes an amazing hard working attitude, critical entrepreneurial ability, and a tad of madness to pull it off adequately. This article will talk about how to successfully bring home the bacon as a consultant (architect or something else)

web design

Is there "huge cash" to be made as an independent creator?

He had never heard of a millionaire graphic designer who “drives a Ferrari and lives in a mansion.”

css

Is there "huge cash" to be made as an independent creator?

Freelance graphic design work seems like the best job in the world: you get to make your own schedule, work from home and choose which projects and clients you take on. All of that is true; however, becoming a freelance graphic designer isn’t as easy as it seems.

html

Graphic Design Concentration

Advertising Concepts Form and Space, including Advanced Layout Design Package Design Business of Graphic Design Publication Design Art Direction

php

Graphics design project

Visual computerization, otherwise called correspondence configuration, is the workmanship and routine with regards to arranging and anticipating thoughts and encounters with visual and literary substance.

Showing posts with label HTML5. Show all posts
Showing posts with label HTML5. Show all posts

Monday, 27 November 2017

HTML5 Style Guide

HTML5 Style Guide and Coding Conventions



HTML Coding Conventions

Web developers are frequently indeterminate about the coding style and linguistic structure to use in HTML.
In the vicinity of 2000 and 2010, many web developers changed over from HTML to XHTML.
With XHTML, developers were compelled to compose legitimate and "all around framed" code.
HTML5 is more messy with regards to code approval.

Use Correct Document Type

<!DOCTYPE html>
If you want consistency with lower case tags, you can use:
<!doctype html>

Use Lower Case Element Names

HTML5 allows mixing uppercase and lowercase letters in element names.

Bad:

<SECTION> 
  <p>This is a paragraph.</p>
</SECTION>

Very Bad:

<Section> 
  <p>This is a paragraph.</p>
</SECTION>

Good:

<section> 
  <p>This is a paragraph.</p>
</section>

Image Attributes

Continuously include the "alt" ascribe to pictures. This characteristic is imperative when the picture for reasons unknown can't be shown. Likewise, dependably characterize picture width and stature. It decreases gleaming on the grounds that the program can save space for the picture before stacking.

 Bad:

<img src="html5.gif">

Good:

<img src="html5.gif" alt="HTML5" style="width:128px;height:128px">

Spaces and Equal Signs

HTML5 allows spaces around equal signs. But space-less is easier to read, and groups entities better together.

 Bad:

<link rel = "stylesheet" href = "styles.css">

Good:

<link rel="stylesheet" href="styles.css">

Omitting <head>?

In the HTML5 standard, the <head> tag can likewise be excluded. 
Of course, programs will include all components previously <body>, to a default <head> component. 
You can decrease the many-sided quality of HTML, by precluding the <head> tag:

Example

<!DOCTYPE html>
<html>
<title>Page Title</title>

<body>
  <h1>This is a heading</h1>
  <p>This is a paragraph.</p>
</body>

</html>
Yourself Try

Meta Data

<title>HTML5 Syntax and Coding Style</title>

<!DOCTYPE html>
<html lang="en-US">
<head>
  <meta charset="UTF-8">
  <title>HTML5 Syntax and Coding Style</title>
</head>

HTML Comments

Short comments should be written on one line, like this:

<!-- This is a comment -->

Comments that spans more than one line, should be written like this:

<!-- 
  This is a long comment example. This is a long comment example.
  This is a long comment example. This is a long comment example.
-->

Style Sheets

Use simple syntax for linking to style sheets (the type attribute is not necessary):
<link rel="stylesheet" href="styles.css">

Short rules can be written compressed, on one line, like this:

p.intro {font-family: Verdana; font-size: 16em;}

Long rules should be written over multiple lines:

body {
  background-color: lightgrey;
  font-family: "Arial Black", Helvetica, sans-serif;
  font-size: 16em;
  color: black;
}







Share:

Migration

HTML5 Migration



Migration from HTML4 to HTML5


This chapter is entirely about how to migrate from HTML4 to HTML5.

Typical HTML4Typical HTML5
<div id="header"><header>
<div id="menu"><nav>
<div id="content"><section>
<div class="article"><article>
<div id="footer"><footer>


A Typical HTML4 Page

Example

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>HTML4</title>
<style>
body {
    font-family: Verdana,sans-serif;
    font-size: 0.9em;
}

div#header, div#footer {
    padding: 10px;
    color: white;
    background-color: black;
}

div#content {
    margin: 5px;
    padding: 10px;
    background-color: lightgrey;
}

div.article {
    margin: 5px;
    padding: 10px;
    background-color: white;
}

div#menu ul {
    padding: 0;
}

div#menu ul li {
    display: inline;
    margin: 5px;
}
</style>
</head>
<body>

<div id="header">
  <h1>Monday Times</h1>
</div>

<div id="menu">
  <ul>
    <li>News</li>
    <li>Sports</li>
    <li>Weather</li>
  </ul>
</div>

<div id="content">
  <h2>News Section</h2>
  <div class="article">
    <h2>News Article</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque in porta lorem. Morbi condimentum est nibh, et consectetur tortor feugiat at.</p>
  </div>
  <div class="article">
    <h2>News Article</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque in porta lorem. Morbi condimentum est nibh, et consectetur tortor feugiat at.</p>
  </div>
</div>

<div id="footer">
  <p>&amp;copy; 2016 Monday Times. All rights reserved.</p>
</div>

</body>
</html>
Yourself Try

Change to HTML5 Doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
to the HTML5 doctype:

Example

<!DOCTYPE html>

Change to HTML5 Encoding

Change the encoding information
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
to HTML5 encoding:

Example

<meta charset="utf-8">

HTML5 Semantic Elements

body {
    font-family: Verdana,sans-serif;
    font-size: 0.9em;
}

div#header, div#footer {
    padding: 10px;
    color: white;
    background-color: black;
}

div#content {
    margin: 5px;
    padding: 10px;
    background-color: lightgrey;
}

div.article {
    margin: 5px;
    padding: 10px;
    background-color: white;
}

div#menu ul {
    padding: 0;
}

div#menu ul li {
    display: inline;
    margin: 5px;
}
Replace with equal CSS styles for HTML5 semantic elements:
body {
    font-family: Verdana,sans-serif;
    font-size: 0.9em;
}

header, footer {
    padding: 10px;
    color: white;
    background-color: black;
}

section {
    margin: 5px;
    padding: 10px;
    background-color: lightgrey;
}

article {
    margin: 5px;
    padding: 10px;
    background-color: white;
}

nav ul {
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 5px;
}
Finally, change the elements to HTML5 semantic elements:

Example

<body>

<header>
<h1>Monday Times</h1>
</header>

<nav>
<ul>
<li>News</li>
<li>Sports</li>
<li>Weather</li>
</ul>
</nav>

<section>
<h2>News Section</h2>
<article>
<h2>News Article</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque in porta lorem. Morbi condimentum est nibh, et consectetur tortor feugiat at.</p>
</article>
<article>
<h2>News Article</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque in porta lorem. Morbi condimentum est nibh, et consectetur tortor feugiat at.</p>
</article>
</section>

<footer>
<p>&copy; 2014 Monday Times. All rights reserved.</p>
</footer>

</body>


Share:

HTML5 Semantic

HTML5 Semantic Elements


What are Semantic Elements?

A semantic element plainly portrays its significance to both the program and the designer.
Cases of non-semantic elements: <div> and <span> - Tells nothing about its substance.
Cases of semantic elements: <form>, <table>, and <article> - Clearly characterizes its substance.

New Semantic Elements in HTML5

Many web sites contain HTML code like: <div id="nav"> <div class="header"> <div id="footer">
to show route, header, and footer. 


HTML5 offers new semantic components to characterize diverse parts of a web page:

  1. <article>
  2. <aside>
  3. <details>
  4. <figcaption>
  5. <figure>
  6. <footer>
  7. <header>
  8. <main>
  9. <mark>
  10. <nav>
  11. <section>
  12. <summary>
  13. <time>



Share:

HTML5 New Elements

HTML5 New Elements

The following is a rundown of the new HTML5 elements, and a depiction of what they are utilized for.


New Semantic/Structural Elements


HTML5 offers new elements for better document structure:
TagDescription
<article>Defines an article in a record 
<aside>Defines content beside the page content 
<bdi>Isolates a piece of content that may be designed in an alternate heading from other content outside it
<details>Defines extra subtle elements that the client can view or cover up

<dialog>Defines a discourse box or window 
<figcaption>Defines an inscription for a <figure> component 
<figure>Defines independent substance 
<footer>Defines a footer for a record or segment 
<header>Defines a header for a record or segment 
<main>Defines the primary substance of a record 
<mark>Defines stamped/featured content 
<menuitem> Defines a charge/menu thing that the client can conjure from a popup menu 
<meter>Defines a scalar estimation inside a known range (a gage) 
<nav>Defines route joins 
<progress>Represents the advance of an undertaking 
<rp>Defines what to appear in programs that don't bolster ruby explanations
<rt>Defines a clarification/articulation of characters (for East Asian typography)
<ruby>Defines a ruby comment (for East Asian typography) 
<section>Defines a segment in a report 
<summary>Defines an obvious heading for a <details> component 
<time>Defines a date/time 
<wbr>Defines a conceivable line-break

New Form Elements

TagDescription
<datalist>Specifies a list of pre-defined options for input controls
<output>Defines the result of a calculation

HTML5 - New Attribute Syntax

TypeExample
Empty<input type="text" value="John" disabled>
Unquoted<input type="text" value=John>
Double-quoted<input type="text" value="John Doe">
Single-quoted<input type="text" value='John Doe'>

HTML5 Graphics

TagDescription
<canvas>Draw graphics, on the fly, via scripting (usually JavaScript)
<svg>Draw scalable vector graphics

New Media Elements

TagDescription
<audio>Defines sound content
<embed>Defines a container for an external (non-HTML) application
<source>Defines multiple media resources for media elements (<video> and <audio>)
<track>Defines text tracks for media elements (<video> and <audio>)
<video>Defines video or movie
Share:

Web Design Tutorial

Theme Support

Munere veritus fierent cu sed, congue altera mea te, ex clita eripuit evertitur duo. Legendos tractatos honestatis ad mel. Legendos tractatos honestatis ad mel. , click here →