Difference between revisions of "Courses/Design & Technique-Essential Web Design/02"
From Publication Station
Line 1: | Line 1: | ||
< | <slidy theme="a" /> | ||
==<code><a></code> hyperlinks== | |||
* anchor tag | |||
==remote & remote links== | |||
==<code><img></code> image== | |||
</ | ==<code><div></code> == | ||
* | ==<code><span></code>== | ||
==inline style== | |||
==tags' attributes== | |||
attributes are parameters from the HTML tags | |||
==<code><a></code> attributes:== | |||
* href - specifies the url or file of the link | |||
* target - specifies where to display the linked resource. | |||
<source lang="html4strict"> | |||
<a href="http://wdka.hro.nl/" target="_self">link</a> <!-- target="_self": Loads the response into the SAME tab--> | |||
<a href="http://wdka.hro.nl/" target="_blank">link</a> <!-- target="_blank": Loads the response into a NEW tab--> | |||
</source> | |||
==<code><img></code> attributes:== | |||
* src | |||
* width | |||
* height | |||
==id and class attributes== | |||
==inspector== | |||
==assignment== |
Revision as of 16:43, 14 September 2015
<slidy theme="a" />
<a>
hyperlinks
- anchor tag
remote & remote links
<img>
image
inline style
tags' attributes
attributes are parameters from the HTML tags
<a>
attributes:
- href - specifies the url or file of the link
- target - specifies where to display the linked resource.
<a href="http://wdka.hro.nl/" target="_self">link</a> <!-- target="_self": Loads the response into the SAME tab-->
<a href="http://wdka.hro.nl/" target="_blank">link</a> <!-- target="_blank": Loads the response into a NEW tab-->
<img>
attributes:
- src
- width
- height