Click here to Skip to main content
15,888,802 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi guys, my name is Christopher Tillack. OrginialGriff, you might remember me :)

I decided to persue HTML and I have learned a lot. I just wanted you guys to decide where this program goes... Also should I start learning C++ again? But first, what should I do with this program? Your choice.

<!DOCTYPE HTML>
<head>
  <body>
    <html>
 
      <input class = button
        <var button;

    </html>
  </body>
</head>


What I have tried:

Well I guess it's up to you as to what I try.
Posted
Updated 31-May-22 7:42am
Comments
OriginalGriff 31-May-22 1:00am    
"what should I do with this program?"

Finish is so it contains valid HTML?
Christopher Tillack is back 31-May-22 13:29pm    
You don't have to be so rude. I asked for help you know
OriginalGriff 31-May-22 14:17pm    
That's not rude: it's a statement of fact.
You are asking for a direction to go in based on your current code - and it's useless because it's not even valid HTML, much less anything that shows us where you are as a developer.

What do you expect to get as a result? :laugh:
Christopher Tillack is back 31-May-22 14:58pm    
You did just plain insult me. You haven't changed since I was last here.

You also didn't help me one bit
Christopher Tillack is back 31-May-22 14:59pm    
If you're not going to be helpful don't respond please

If you want to include a whole DOM in another page so you did... ( old iframe did too )

Html5 engine are going quirk mode with your html style.
sure you'll have a render, something visible.

but , please, stay strict when you invoke Html 5 with your DOCTYPE declaration.

Html have "opening tag" and "closing tag", and singletons too.

Kindly your program need to be written again ;)

I try :

<!DOCTYPE HTML>
 <html>
  <head>
  </head>   
  <body>
    <button class="abutton">a button</button>
  </body>
 </html>
 
Share this answer
 
If the plan is to combine C++ and HTML this link might help.
www.tutorialspoint.com/cplusplus/cpp_web_programming.htm

Without information about what the "button" in HTML is supposed to be used for, one can only speculate here.

HTML
<form action = "/cgi-bin/mybutton.cgi" method = "post">
   <input type = "submit" value = "OK" />
</form>

or you can use button tag:
HTML
<form action="/cgi-bin/mybutton.cgi" method="post" id="myForm">
    <button type="submit" class="btn-info" name="something">Submit</button>
</form>
 
Share this answer
 
v2
Comments
Christopher Tillack is back 31-May-22 15:06pm    
Thanks. I wanted you guys to speculate; I thought it would be fun to code what others wanted me to, get ideas.
You need to master a set of techniques that are the basis of the job and are not linked to a language.

Advices:
- Start with an easy/safe language: VB, Java, C#, not C or C++. I do not recommend to start with Python either because of the usage of indentation.
- Read documentation / Follow tutorials (a lot of them)
- Start with tiny/useless projects, the purpose is to learn programming, not doing something useful.
- Start with console mode programs (no fancy graphics, no mouse)
- Learn debugger (an incredible learning tool)
Debugger - Wikipedia, the free encyclopedia[^]
Mastering Debugging in Visual Studio 2010 - A Beginner's Guide[^]
- A problem ? Google is your friend.
- Learn one or more analyze methods, E.W. Djikstra/N. Wirth Stepwize Refinement/top-Down method is a good start.
Structured Programming.pdf[^]
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]
Program Development by Stepwise Refinement[^]
- Learn Algorithms and Data-Structures.
GitHub - The-Art-of-Computer-Programming-Books: "Everyday life is like programming, I guess. If you love something you can put beauty into it." ? Donald E. Knuth[^]
Skiena The Algorithm Design Manual
- Learn Boole algebra
- Learn SQL
- Learn Databases design and Administration
Introduction to database design[^]
1NF, 2NF, 3NF and BCNF in Database Normalization | DBMS Tutorial | Studytonight[^]
- Learn Regular Expressions

Interesting link:
stanford.edu: Learn to Program[^]
CodersLegacy - Imparting knowledge to the Future[^]

There is no shortcut to knowledge, no one can learn for you, you are the only one that can do it.
Remember the exercises and little projects are not here to make something useful, they are here to teach you programming.

My most important part is probably: Learn one or more analyze methods.
 
Share this answer
 
Comments
Christopher Tillack is back 31-May-22 15:33pm    
Thanks so much for taking your time to help me

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900