Closed (fixed)
Project:
Semantic Views
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2009 at 00:10 UTC
Updated:
6 Mar 2010 at 06:10 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedThe terminology comes straight from HTML.
elements are "h2" and "p" and "div." They usually appear inside angle < brackets >.
Attributes are the key/value statements that are part of the elements. CLASS and ID attributes are the most commonly used attributes in HTML for themers because CSS selectors usually target HTML elements and class attributes.
The value (let's call it CAT DOG) you give for a class attribute will be output as class="CAT DOG" If you put hr here, you are going to output class="hr".
There are NO restrictions on what elements you can use, so it is very possible to set up a view that outputs BAD HTML... for example, you could create an unordered list but use divs for your row elements, giving you:
Does this clear it up at all? I wish I could provide 'live preview' output that shows you the HTML code instead of the rendered HTML, but I haven't found a way yet...
Comment #2
Anonymous (not verified) commented