Submit Assignmnet to teacher but have problem?

Discussion in 'HTML & Website Design' started by supernewsworld, Sep 25, 2011.

  1. #1
    hi guys i urgently need help of your expert advice...
    my teacher give me simple assignment but i didn't figure out how can i achieve code to this problem...I am newbie in coding.

    lets say this is heading

    how to code:
    this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! v this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! this is blah! this is blah!

    this is blah should start right under the end of heading

    lets check out the structure text and the problem is when i add margin-left then it applies to all paragraph and i can not get the up mention structure.I am using style tag.

    Could you guys just send me the exact code to achieve following mention structure... Thanks
     
    supernewsworld, Sep 25, 2011 IP
  2. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #2
    What are you applying the "margin-left" to? The body, a div, some other element?
     
    Rukbat, Sep 26, 2011 IP
  3. supernewsworld

    supernewsworld Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    in body i want to add paragraph but i want this paragraph to be started right under the heading
    for example there is a heading

    HTML TUTORIALS:
    paragraph should started right under the tutorial 'S' i think <pre> tag will do the job what u think:)
     
    supernewsworld, Sep 27, 2011 IP
  4. supernewsworld

    supernewsworld Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    this is the code

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Learn web Development</title>
    </head>

    <body background="http://i56.tinypic.com/e7jwad.jpg"
    <h1 style="font-family:san-serif;font-size:48px;color:red">What Is HTML:</h1>
    <pre style="font-family:verdana; font-size:24px; color:yellow; text-align: justify"> Hypertext Markup Language (HTML) is the predominant
    markup language for web pages. HTML elements are the basic building-blocks of
    webpages. </pre>
    <h2 style="font-family:Arial;font-size:42px;colorurple">What Is CSS:</h2>
    <pre style="font-family:'Lucida Grande'; font-size:20px; color:aqua; text-align: justify"> Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation
    semantics (the look and formatting) of a document written in a markup language. Its most common application is to style
    web pages written in HTML and XHTML </pre>
    <h3 style="font-family:cursive;font-size:36px;color:blue">What Is Javascript:</h3>
    <pre style="font-family:Courier New; font-size:16px; color:white; text-align: center">
    JavaScript is a prototype-based scripting language that is
    dynamic, weakly typed and has first-class functions. It is a
    multi-paradigm language, supporting object-oriented,[6]
    imperative,and functional[1][7] programming styles. </pre>

    </body>
    </html>
     
    supernewsworld, Sep 27, 2011 IP
  5. supernewsworld

    supernewsworld Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    problem solved thread closed:) Thanks
     
    supernewsworld, Sep 27, 2011 IP