i go with html but they go togethjer so you can use which ever borttum one gives you more choices of what your font looks liek and siz and even color not sure if that was html or css i didn't really look at that so sry but yah 2nd one harder to use and remember but top is esayer to rember but not as cool. so there you have it
| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Css Or Html Tags
Started by solankyno1, Oct 16 2004 04:21 PM
28 replies to this topic
#22
Posted 31 December 2004 - 05:34 PM
I have started this thread for help regarding HTML or CSS. Now I am using CSS easily in my website www.solanky.uni.cc . CSS is very easy to use if you have a lot of pages in your site like mine. When I was using inline styles I was having a lot of problem in changing styles on every page. But now I am using external style sheets and this is extremely easy to use. Just make change in one file and all the pages are changed. Wow .....
#23
Posted 24 January 2005 - 04:10 AM
i use CSS and HTML on my pages writing the span tag everytime you would want a bold text is really annoying
i prefer to use the <b> </b> tags anyway why don't u try to use the CSS? the are really practic and comfortable to use instead of changing every page you can change only 1 (well.. if u used the external ) i'll leave you a page for CSS tutorials i hope u read it http://daydreamgraphics.com
#24
Posted 27 January 2005 - 09:24 AM
I use CSS for everything it is possible to use it for! I can't see why anyone WOULDNT want to use it on their site. Cascading Style Sheets were introduced to provide cleaner, shorter coding and that is exactly what it does... Some people say its not "backwards compatible", but I mean, at the end of the day if you use an outdated browser its your fault really.
#28
Posted 27 May 2011 - 07:57 PM
CSS is much better to use. You could however have inline styles using Javascript (eg. element.style.width = "100px"). Inline styles have preference over CSS unless you use "!important" with the style. The html tags are usually for quick editing or if you don't want to add cluttered up classes, attributes to files such as <b>, <i> though it is preferable to use <span class='bold'> than <span style='font-weight:bold'> and <b>. The major advantage to use CSS instead of inline html styles is that you can change change all the element's styles that associate with that CSS rule, but inline styling is much easier to handle with Javascript.
#29
Posted 03 June 2011 - 08:27 AM
Well, in html4 you can use <b> <i> tags and etc. but I personally use xhtml for most of things and use the <strong> tag to make my html document, but still in the CSS file I just write what a strong tag means and how ti needs to show it, in xhtml as I know <b> tag is deprecated and not valid, but ion html5 it's a valid tag again, so you can use it without problems..
the tags in HTML document displays your markup and use CSS how you want to display that html document, as it's much better to use <strong> and later in CSS classify the strong tag how you want it to be displayed in your layout rather than using <span class="bold"> or <div class="bold"> and in the CSS file .bold {font-weight:bold}
the tags in HTML document displays your markup and use CSS how you want to display that html document, as it's much better to use <strong> and later in CSS classify the strong tag how you want it to be displayed in your layout rather than using <span class="bold"> or <div class="bold"> and in the CSS file .bold {font-weight:bold}
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users














