Sponsored Content
Top Forums Web Development Web development learning thread(Javascript, HTML, CSS, angular, vue.js). Post 303033912 by Neo on Sunday 14th of April 2019 03:22:17 AM
Old 04-14-2019
Welcome to 2019 web dev, Ravinder.

This will serve you very well when you move pass the JS, HTML and CSS basics and move on to node.js and vue.js and other useful JS libs (and SASS) as you become more creative.
This User Gave Thanks to Neo For This Post:
 

7 More Discussions You Might Find Interesting

1. Web Development

Help with passing HTML values in to JavaScript

Not sure if this is the right place to ask this but here goes. I am creating a cheat sheet for co-workers. The concept is that you pick wire size and conduit size and the amount of wires that will fit is displayed. I haven't used alot of drop downs and can't quite figure out the way the get id... (3 Replies)
Discussion started by: zero3ree
3 Replies

2. Shell Programming and Scripting

Javascript or HTML to retrieve apache username

I have a internal wesbite set up and any visitor must enter username / passwd as defined in apache (I've set these up using htpasswd) I use cgi scripts set up using ksh or javascript to populate pages / tables etc. I want to be able to get the apache username that the used authorised... (3 Replies)
Discussion started by: frustrated1
3 Replies

3. Web Development

Learning HTML

I have tried to create a web page browser window. An example, I copied what the book pretty much wanted but get only the header. What should I change? Also Anyone know any good books for this? Many thanks. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Translation/EN" ... (4 Replies)
Discussion started by: N-Training
4 Replies

4. Programming

Looking For the Best Way to Rotate an Image: JavaScript, PHP, HTML etc

Hey All, What I'm looking for is a way to rotate an image by non 90 degree angles (ie 90, 180, 270, 360). I am able to do it in PHP, but there are errors in the image, some pixels end up colored incorrectly and the image ends up resized and I lose transparency. I've done my share of searching on... (1 Reply)
Discussion started by: pmd006
1 Replies

5. Web Development

HTML down, CSS help, ahhhh

I am having some problems. I have been able to learn HTML, but when I try and encode CSS, nothing happens, what is the major issue here. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>MY CSS</title> <style... (7 Replies)
Discussion started by: N-Training
7 Replies

6. Web Development

Simple Vue.js Component to Redirect to External Web Page Using Vue Router

Vue Router has some quirks and on of the quirks is that it is not reliable when adding external links using the vue-router library. After struggling with many solutions, I have found that creating a simple Vue.js component like this one seems to work the best (so far): Component Example: ... (0 Replies)
Discussion started by: Neo
0 Replies

7. Web Development

Google Trends: react.js angular.js vue.js

While I'm on the subject of Google trends, here is a global trend since 2004 comparing react.js, angular.js, vue.js It's no secret I'm a vue.js fan and coder, but not because of the trend line (which I just saw for the first time a few minutes ago) My experience is that vue.js, a late arrival... (0 Replies)
Discussion started by: Neo
0 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 08:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy