09-26-2011
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.
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Translation/EN"
"http:??www.w3.org?TR/html1?xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xtml">
<head>
<title>HTML Makes the Web Go Round</tiltle>
meta http-equiv="Context-Type" content="text/html/charset=utf-8" />
</head>
<body style="color: white;
background-color: teal;
font-size: 12pt;
font-family: sans-serif;">
<h1>Hello World</h1>
<p>............................................................................................
...................................................................................................
.................................................................................................
....................................................................................................
......................................................................................................
...................................................................................................
.......................................................................................................
.......................................................................................................
.......................................................................................................
........................................................................................................
</p>
</body>
</html>
Last edited by pludi; 09-26-2011 at 04:35 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can i do this? i am learning this on my own..and from the book..simple unix i am not sure if the syntax would work
if
statement
then
statement
do or for or while
statement
done
else
statement
fi....
I dont know how else to explain that...I hope I... (2 Replies)
Discussion started by: jonas27
2 Replies
2. UNIX for Dummies Questions & Answers
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
3. Shell Programming and Scripting
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
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
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
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
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
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. UNIX for Advanced & Expert Users
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
10. Web Development
Hello All,
After getting inspired from Neo, I have started a bit of JS learning these days. Whenever I learn something I will try to post it here(as of now my learning is NOT exactly bookish where I am going chapter by chapter etc, it could be more like small-small project vice kind of), I... (25 Replies)
Discussion started by: RavinderSingh13
25 Replies
LEARN ABOUT CENTOS
qnpwidget
QNPWidget(3qt) QNPWidget(3qt)
NAME
QNPWidget - QWidget that is a web browser plugin window
SYNOPSIS
This class is part of the Qt Netscape Extension.
#include <qnp.h>
Inherits QWidget.
Public Members
QNPWidget ()
~QNPWidget ()
virtual void enterInstance ()
virtual void leaveInstance ()
QNPInstance * instance ()
DESCRIPTION
This class is defined in the Qt Netscape Extension, which can be found in the qt/extensions directory. It is not included in the main Qt
API.
The QNPWidget class provides a QWidget that is a web browser plugin window.
Derive from QNPWidget to create a widget that can be used as a web browser plugin window, or create one and add child widgets. Instances of
QNPWidget may only be created when QNPInstance::newWindow() is called by the browser.
A common way to develop a plugin widget is to develop it as a stand-alone application window, then make it a child of a plugin widget to
use it as a browser plugin. The technique is:
class MyPluginWindow : public QNPWidget
{
QWidget* child;
public:
MyPluginWindow()
{
// Some widget that is normally used as a top-level widget
child = new MyIndependentlyDevelopedWidget();
// Use the background color of the web page
child->setBackgroundColor( backgroundColor() );
// Fill the plugin widget
child->setGeometry( 0, 0, width(), height() );
}
void resizeEvent(QResizeEvent*)
{
// Fill the plugin widget
child->resize(size());
}
};
The default implementation is an empty window.
MEMBER FUNCTION DOCUMENTATION
QNPWidget::QNPWidget ()
Creates a QNPWidget.
QNPWidget::~QNPWidget ()
Destroys the window. This will be called by the plugin binding code when the window is no longer required. The web browser will delete
windows when they leave the page. The bindings will change the QWidget::winId() of the window when the window is resized, but this should
not affect normal widget behavior.
void QNPWidget::enterInstance () [virtual]
Called when the mouse enters the plugin window. Does nothing by default.
Example: grapher/grapher.cpp.
QNPInstance * QNPWidget::instance ()
Returns the instance for which this widget is the plugin window.
void QNPWidget::leaveInstance () [virtual]
Called when the mouse leaves the plugin window. Does nothing by default.
Example: grapher/grapher.cpp.
SEE ALSO
http://doc.trolltech.com/qnpwidget.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qnpwidget.3qt) and the Qt version (3.3.8).
Trolltech AS 2 February 2007 QNPWidget(3qt)