Sponsored Content
Full Discussion: Html??
Top Forums Programming Html?? Post 302764779 by zazzybob on Friday 1st of February 2013 01:39:21 AM
Old 02-01-2013
There are many resources available - but W3Schools was my go-to resource when I was starting out learning HTML/XHTML and CSS.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How do I extract text only from html file without HTML tag

I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part. Same problem happens in "type" command in MS-DOS. I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies

2. Web Development

Rewrite rules to change “link.html?hl=es” to “/es/link.html” etc?

Hey! Does anyone know how to create rewrite rules to change: “link.html?hl=en” to “/en/link.html” “link.html?hl=jp” to “/jp/link.html” “link.html?hl=es” to “/es/link.html” etc? Where "link.html" changes based on the page request? (2 Replies)
Discussion started by: Neo
2 Replies

3. Shell Programming and Scripting

Sendmail with html attachment and html body

Hi folks, I have a perl script which sends out email after successful completion of job as inline html, I want to send it out as two parts now as html inline and html attachment. see the attached script. Thanks in advance (1 Reply)
Discussion started by: sol_nov
1 Replies

4. UNIX for Advanced & Expert Users

shellinabox/html help to insert a keypress with an html button

I am trying to use shellinabox as a terminal emulator. Everything is working except there seems to be no way to simulate an F14 button press in shellinabox. I am already embedding shellinabox in an html page so Im am wondering if there is a way to make an html/js button that will pass F14 to the... (0 Replies)
Discussion started by: syadnom
0 Replies

5. Red Hat

Send HTML body and HTML attachment using MUTT command

Hi there.. I need a proper "mutt" command to send a mail with html body and html attachment at a time. Also if possible let me know the other commands to do this task. Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies

6. UNIX for Dummies Questions & Answers

Sending html email with html attachment

Hello, I have a script which is sending an html file as an attachment. #!/usr/bin/ksh export MAILTO="user@company.com" export CONTENT="/usr/tmp/file.html" export SUBJECT="EmailSubject" ( echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" echo "Content-Type: text/html" echo... (0 Replies)
Discussion started by: sreenathkg
0 Replies

7. Shell Programming and Scripting

Parsing HTML, get text between 2 HTML tags

Hi there, I'm quite new to the forum and shell scripting. I want to filter out the "166.0 points". The results, that i found in google / the forum search didn't helped me :( <a href="/user/test" class="headitem menu" style="color:rgb(83,186,224);">test</a><a href="/points" class="headitem... (1 Reply)
Discussion started by: Mysthik
1 Replies

8. Shell Programming and Scripting

Removing all except couple of html tags from html file

I tried to find elegant (or at least simple) way to remove all but couple of html tags from html file, but all examples I found dealt with removing all the tags. The logic of the script would be: - if there is <li> or <ul> on the line, do nothing (=write same line to output) - if there is:... (0 Replies)
Discussion started by: juubuntu
0 Replies

9. Shell Programming and Scripting

Get a value from HTML

Hi, I want to get a particular value from the html file. How to get value 1.16 from the below html <td class="" t="'','','&lt;B&gt;: &lt;/B&gt;277&lt;BR&gt;&lt;B&gt;: &lt;/B&gt;> 1.16 </td> Thanks for your help. Regards Neethu (5 Replies)
Discussion started by: Neethu
5 Replies

10. UNIX for Advanced & Expert Users

Mutt for html body and multiple html & pdf attachments

Hi all: Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project. There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues. Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies
HTML::WikiConverter::Normalizer(3pm)			User Contributed Perl Documentation		      HTML::WikiConverter::Normalizer(3pm)

NAME
HTML::WikiConverter::Normalizer - Convert CSS styles to (roughly) corresponding HTML SYNOPSIS
use HTML::TreeBuilder; use HTML::WikiConverter::Normalizer; my $tree = new HTML::TreeBuilder(); $tree->parse( '<p><font style="font-style:italic; font-weight:bold">text</font></p>' ); my $norm = new HTML::WikiConverter::Normalizer(); $norm->normalize($tree); # Roughly gives "<p><font><b><i>text</i></b></font></p>" print $tree->as_HTML(); DESCRIPTION
HTML::WikiConverter dialects convert HTML into wiki markup. Most (if not all) know nothing about CSS, nor do they take it into consideration when performing html-to-wiki conversion. But there is no good reason for, say, "<font style="font-weight:bold">text</font>" not to be converted into '''text''' in the MediaWiki dialect. The same is true of other dialects, all of which should be able to use CSS information to produce wiki markup. The issue becomes especially problematic when considering that several WYSIWYG HTML editors (e.g. Mozilla's) produce this sort of CSS-heavy HTML. Prior to "HTML::WikiConverter::Normalizer", this HTML would have been essentially converted to text, the CSS information having been ignored by "HTML::WikiConverter". "HTML::WikiConverter::Normalizer" avoids this with a few simple transformations that convert CSS styles into HTML tags. METHODS
new my $norm = new HTML::WikiConverter::Normalizer(); Constructs a new normalizer normalize $norm->normalize($elem); Normalizes $elem and all its descendents, where $elem is an HTML::Element object. SUBCLASSING
The following methods may be useful to subclasses. handlers my $handlers = $self->handlers; Class method returning reference to an array of handlers used to convert CSS to HTML. Each handler is a hashref that specifies the CSS properties and values to match, and the HTML tags and attributes the matched properties will be converted to. The "type", "name", "value", and "tag" keys may be used to match an element's property or attribute. "type" may be either "css" if matching a CSS property (in which case "name" must contain the name of the property, and "value" must contain the property value to match) or "attr" if matching an HTML tag attribute (in which case "name" must contain the name of the attribute, and "value" must contain the attribute value to match). "value" may be a string (for an exact match), regex (which will be used to match against the element's property or attribute value), coderef (which will be passed the property or attribute value and is expected to return true on match, false otherwise), or "*" (which matches any property or attribute value). A tag or list of tags can also be matched with the "tag" key, which takes either a string or an arrayref. To specify what actions the handler will take, the "new_tag", "new_attr", and "normalizer" keys are used. "new_tag" is required and indicates the name of the tag that will be created. "attribute" is optional and indicates the name of the attribute in the new tag that will take the value of the original CSS property. If a coderef is given as the "normalizer", it will be passed the value of the property/attribute and should return one suitable to be assigned to the new tag attribute. SEE ALSO
CSS AUTHOR
David J. Iberri, "<diberri@cpan.org>" BUGS
Please report any bugs or feature requests to "bug-html-wikiconverter at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-WikiConverter>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. COPYRIGHT &; LICENSE Copyright 2006 David J. Iberri, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2009-05-12 HTML::WikiConverter::Normalizer(3pm)
All times are GMT -4. The time now is 02:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy