473,840 Members | 1,662 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Style tags -- Eeek how obese these tags make HTML!

HTML reprocessor: how do you get rid of the obese MS-Word (normal or
filtered) HTML?

I just want all the fancy MS tags removed and replaced with basic ones, or
if applicable -- stripped entirely back to HTML 2.0, or HTML 'core' 3.2.

It was one thing when my Win95 Netscape's HTML editor bloated up my HTML 2.0
code into moderately efficient HTML 3.2 code.

The NETSCAPE Win XP HTML editor rewrote the code into moderately efficient
4.01 Transitional code -- but kept the code only slightly divergent from
HTML 3.2's core tags.

'Style' tags -- Eeek how obese these tags make HTML!
Yet, most web authoring tools (the cheap or free ones) will not help with
CSS.
'Meta' tags: I would love to clean them all up one day.

Not all my website is affected, but someday it may be.

If this idea only worked for HTML ...
http://hireme.geek.nz/wiki-at-home.html
I ACTUALLY LIKE SOME WIKIpedia MARKUP, IT IS SO not obese!
If only Wiki markup were possible in HTML, as a way to make HTML more
accessible again.
-- Tables: it would really clean them up, but not most nested tables (beyond
to nesting layers).
-- Orandanary text: some of it could be helped by Wiki markup.
-- Images: mixed bag, only useful for HTML novices and testing.
-- A new tag would probably be needed:
"<wiki_markup_a a>''Text''</wiki_markup_aa> "
-- When saving HTML files, some computational work would need to be done to
find the most space efficient markup during the saving process.

Most of my website code could go back to HTML 3.2, but my goal is conversion
to 4.01 STRICT + UTF-8 + EN-CA + no local colored tags for links...

Nov 8 '06 #1
1 1609

Max Power wrote:
HTML reprocessor: how do you get rid of the obese MS-Word (normal or
filtered) HTML?
IMHE, you don't. It's easier to generate HTML without them (painful
though this is) than to sort out the execrable mess that Word produces
when left to itself.

The "Save As HTML" dialog has a few other options in there for simpler
HTML formats. They're ugly, but better than the stuff with the mso:
namespace and the bucketloads of "conditiona l comments".

Nov 8 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3722
by: chotiwallah | last post by:
i have a little database driven content managment system. people can load up html-docs. some of them use ms word as their html-editor, which resultes in loads of "class" and "style" attributes - like this: <p class="MsoNormal">Some text</p> now i'd like to remove them (the attributes, not the people, that is). i know reg exp is the way, but somehow the solution avoids me. just pointing me to some more advanced tutorial (pref. in...
13
40782
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div style="display:none"> can be displayed by setting the style attribute to "display:", or hidden with "display:none". This gives the illusion that the person filling out the form is switching from page to page...without the overhead of extra hits on the server,...
8
5753
by: Hostile17 | last post by:
Consider the following HTML. ---------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <title>Untitled</title>
8
4101
by: Xah Lee | last post by:
what does it mean when a style tag gives something like the following? <style type="text/css" media="screen,projection">/*<!]>*/</style> is this standard? Xah xah@xahlee.org ∑ http://xahlee.org/
3
1241
by: Rob Nicholson | last post by:
This is a question about the following KB article: http://support.microsoft.com/kb/q262161 We've got a problem with the Infragistics NetAdvantage presentation controls which they've suggested it related to this KB article. But I'm not sure this is correct but I'd like to just confirm what this KB article actually means. My understanding of this is that a single page can't have more than 30 style sheets defined. It doesn't matter...
2
1348
by: Brian Bischof | last post by:
To get my formatting to work with Firefox and IE browsers, I have to be very careful about the layout. So I'm removing all the Style tags that set the Height and Width values (and some of these values make no sense). But then when I go back on look at the HTML later on I see the Style tags have been added back and my formatting is all screwed up again. Arghh!! Can someone tell me how to make ASP.NET stop adding these troublesome Style...
2
12266
by: ameshkin | last post by:
This script I wrote works with tables, td's and div's, but not with style tags. Can anyone figure out the regular expression for finding <styletags. The trick is that sometimes its not just <style Its <style type="text/css"> Basically, i want to take the information in between the style content from any url <?php
3
1765
by: John Dalberg | last post by:
I am using an application that dynamically creates style tags all over the place in the html file. I mean some inside the head section and some in the body section. I have no control over this. Is there a tool/utility out there which reads in such a file, moves all the STYLE tags and groups them together in the head section or an external file? (Just grouping them is fine with me) John Dalberg
3
1927
by: Michellevt | last post by:
Hi I am working on a project (for college) and wondered if anyone can help me with my problem. In the project we are not allowed to make use of any "style" attributes but "class" attributes instead. The following is the java script that i am using and i am having trouble in using a class instead of a style tag because simply replacing the style=\"position:absolute;\" tag with class=\"posiAbs\" where in the external css ".posiAbs...
0
9699
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10603
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10660
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10301
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7838
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7023
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4498
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3138
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.